Question

Domain not linking to IP.

  • Posted September 5, 2014

So I have created a droplet hosting wordpress, and I have configured all the hostnames to the name of the domain, I have also updated the name servers on my registrar, and followed all the tutorials on how to create the domain link in the dns settings, etc. Nothing seems to work, when I try to edit the ‘general settings’ on wordpress and put my domain there it completely breaks the site, and I have to manually reupdate the settings back to the IP address through ssh.

Definitely missing something obvious here and could use some help, thanks!

Oh, and I’ve also tried clearing my dns cache, nothin’.

Subscribe
Share

(If you’re on Linux/Mac), try putting:

host yourdomain.com ns1.digitalocean.com

in the terminal. Do you get anything back? It should say something like

yourdomain.com has address x.x.x.x (where x.x.x.x matches the IP of your droplet).

If that’s working, then chances are there’s a configuration problem with your web server. Are you using Apache, or nginx?


Submit an 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.

Hello,

Note that once you’ve changed your DNS as described here:

https://docs.digitalocean.com/tutorials/dns-registrars/

It can take up to 24/48 hours for the DNS cache to clear over the Globe before you could see the new DNS records.

Best,

Bobby