I have 2 domains: domainA.com and domainB.com. I have 1 website (say served by IP xxx.xxx.xxx.xxx:80)
domainA.com is the preferable name, but I want domainB.com to be usable as well.
I am not concerned about SEO at this point (but might be in the future).
What is the proper way to setup DNS, such that:
- DNS handles requests for domainA.com directly and refers to the website at xxx.xxx.xxx.xxx:80
- domainB.com forwards all requests to domainA.com
Can I simply create an A record in each zone that points to xxx.xxx.xxx.xxx? Or, is there any way to point domainB.com at domainA.com using only DNS?