DNS records to point to another domain

喜欢而已 提交于 2019-12-12 06:37:12

问题


Usually I would upload a .htaccess to redirect a domain to another domain. But can something be done with the DNS settings when there is no hosting set up, to point one domain to another in a similar fashion to a redirect?

www.domainA.com -> www.domainB.com


回答1:


Your domain can just have a CNAME type, redirecting to your other domain.




回答2:


There are many ways to do this.

One is to set up a virtual domainA server on the domainB box.

Another is to use a web forward in your domainA DNS record.



来源:https://stackoverflow.com/questions/12628876/dns-records-to-point-to-another-domain

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!