Hello! I've been messing up with Webmin and Virtualmin and I cannot understand how can I configure my name servers on my VPS and I have only 1 IP address Please use the following details as an example:
ip address: 18.104.22.168
domain 1: example1.com
domain 2: example2.com
os: Ubuntu 16.04 with latest updates (for now I'll stick to 16.04 and refrain to updating to 18.04 because I encounter other problems, my VPS provider is outdated, I get the VPS for free)
After getting the latest updates on my OS, I install Virtualmin, I can log to my web panel fine by visiting the url: synef.vm.domains.com:10000
I did the setup and I have messed it up, I added a simple webpage with a hello world on it. If I type synef.vm.domains.com I can see the webpage but the same happens if I visit example1.com. Also I can visit example1.com:10000 and access virtualmin control panel as well
Should't they point to different websites?
I have already configured my Domain Registrar which point to ns1.synef.vm.domains.com ns2.synef.vm.domains.com
How can I configure my dns correctly? I'm very confused.