Report this

What is the reason for this report?

Domain Name to IP Address Redirection no Working Properly

Posted on November 11, 2013

I have recently started using DigitalOcean. My domain/hosting is managed my Hostgator. I have installed WordPress/LEMP/CentOS6. I want mydomain.com to point to Droplet’s IP. I can’t change nameserver to avoid messing up email, so, yesterday I set A Record to Droplet’s IP. It seems to work fine most of the time. But it has been hit and miss. From time to time domain name wouldn’t take me to my WordPress install but something “Index of /” and a blank page with root of Hostgator’s Apache server space.

What is the proper way to setup my domain name to point to IP address here at the Digital Ocean?



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!

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.

<b>“I can’t change nameserver to avoid messing up email…”</b> <br> <br>Why is that? Couldn’t you simply add your current <code>MX records</code> to the DigitalOcean DNS Manager? <br> <br><b>“… so, yesterday I set A Record …”</b> <br> <br>Remember that DNS changes can take up to 48 hours to <i>fully</i> propagate through the Internet. <br> <br><b>“What is the proper way to setup my domain name to point to IP address here at the Digital Ocean?”</b> <br> <br>If you’re going to keep your DNS records with Hostgator, you’ll more likely find a solution (assuming there’s even a problem – again, it could be a simple propagation issue) from them; since they (probably) know their own DNS manager better than anyone here. <br> <br>If you’re open to switching, check out <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-a-host-name-with-digitalocean”>How To Set Up a Host Name with DigitalOcean</a>.

I could make the switch but I am new to DigitalOcean and it is not a full fledged domain manager. <br> <br>Thanks for comment. I still have the problem, so, I will make a post it is resolved in Hostgator forums.

BTW along with “Index of /” page I am also sometimes being redirected to 404 Page. I am not sure where to look for help here at the DO or at the Hostgator. <br> <br>I want to make a few things clear before I seek further help. <br> <br>I am suppose to set domain’s A Record and not CNAME. Is that correct? <br> <br>If I am managing my domain through Hostgotar, no settings are needed to be changed from DO’s interface. And all I have to do in Hostgator panel is to set A Record. Is that correct?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.