I've built an application and planning to host it at example.com I have about 10 customers who want the application to be hosted on their brand name (White labeled). Instead of deploying the same application 10 times, I would prefer hosting the application at example.com and point the CNAME of each of the customer's domain to example.com
I implemented the same but for some reason, that's not working as expected.
My Current Setup:
customer1.tld. 60 IN CNAME prod.example.com.
prod.example.com. 59 IN A 62.xx.xxx.204
When I hot prod.example.com on a browser, it works seamlessly, however when I enter customer1.tld it's not working. Logic - customer's dns (CNAME) should point to my hostname and my hostname (A record) should point to my server IP. Anything that I have missed out?
Other Related Information that I'm using:
- VestaCP
- Ubuntu 16.04
- Apache/2.4.29