AWS Multiple domains pointing to same server

I'm building a solution that will be provided to several companies. Any company will have to point their domains (or just a sub-domain) to my server and then I'll handle pages to their customers.

I'm testing it with the following config:

  • CustomerABC.com pointing to one hosted zone into Route 53
  • CustomerDEF.com pointing to another hosted zone into Route 53
  • Both hosted zones have an A record pointing to the same EC2 server instance

That said, every customer that wants to use my service will have to change its domain's DNS to his own hosted zone in my Route53. My server will handle many domains.

I'd like not having to create a new hosted zone for every new customer. Is there any way to achieve the same result?

Answers 1

Related Articles