问题
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