Skip to main content
removed :80 when referring to IP xxx.xxx.xxx.xxx in an A record
Source Link
qxotk
  • 1.4k
  • 2
  • 15
  • 26

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:80? Or, is there any way to point domainB.com at domainA.com using only DNS?

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:80? Or, is there any way to point domainB.com at domainA.com using only DNS?

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?

Source Link
qxotk
  • 1.4k
  • 2
  • 15
  • 26

How Do I Point 2 Domains to 1 Website Using DNS?

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:80? Or, is there any way to point domainB.com at domainA.com using only DNS?