Multiple domains on account without DNS support
Posted: Tue Jul 02, 2019 12:20 pm
To reproduce consider the following setup:
Why is this happening? How can I debug this or how do I fix this?
- Install VestaCP without DNS support
- Create the initial first low level user, so besides your admin user what comes with the installation add an new user let's call the user example.
- Add a website for the example user for this example, example.com would be well suited.
- Create a second user e.g. foobar and add two websites e.g. foo.bar.com and bar.com.
- Next up register a Cloudflare account and change the nameservers of the domains used for the websites created in VestaCP.
- Create A-records pointing to the IP of the VestaCP server. Resulting in the following DNS according to the illustrative domains used in previous steps where SERV_IP is the IP of the VestaCP server:
Code: Select all
A example.com -> SERV_IP A bar.com -> SERV_IP A foo.bar.com -> SERV_IP
Why is this happening? How can I debug this or how do I fix this?