Virtualmin second domain DNS settings help
I have 1 droplet on DigitalOcean and I have Virtualmin installed on it. I am trying to connect a second domain I registered to my hosting.
In my registrat’s settings I already added ns1.digitalocean.com, ns2.digitalocean.com, ns3.digitalocean.com (no trailing dot) as the DNS servers for the domain.
I then went to my DigitalOcean control panel and added a new domain under DNS. I created an A record with @ as the hostname and my droplet’s IP address as the IP address. I also added the three NS records (ns1.digitalocean.com., ns2.digitalocean.com., ns3.digitalocean.com. - trailing dot on all 3).
After this I went to Virtualmin and added a new Top level domain. I then placed all the files under home/domain/public_html.
The problem is that it simply doesn’t work, my domain isn’t accessible.
Please help me with this - how and where should I configure DNS settings, add records etc.?
Help really appreciated,
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.