By prevcurban
Hello,
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, Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’ve figured it out. As per instructions for the initial host setup I removed root access and instead added users. However, I forgot to add the user for this domain to the root access list. So I added that and I also added +Options SymLinksIfOwnerMatch to the .htaccess file.
Not sure which of the two made the difference, but it works now.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.