Help with Simple DNS Configuration


I have my WordPress site all set up, but I’m having issues with DNS for My droplet’s IP address is

Chrome says that the DNS lookup failed, and I’ve checked on many computers in different locations.

I just can’t figure out what I’m doing wrong. Any help would be appreciated.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi !

I went to check your blog, and I can see your website only by surfing by its ip address.

So in your case, you can experience trouble with either DNS propagation, or Apache configuration for your virtualhost.

If you want to check for a DNS resolution, you can use the ‘dig’ command tool, the DNS swiss army knife. Let see if is pointing well to your IP address ( ) :

dig +short

Sounds to be OK on that side. So, going with a browser to your website should work unless your virtualhost configuration is wrong. Let’s check what is going on here :

curl -I
HTTP/1.1 301 Moved Permanently
Date: Tue, 09 Sep 2014 14:44:06 GMT
Server: Apache
X-Powered-By: PHP/5.5.9-1ubuntu4
Set-Cookie: wfvt_4129035792=540f12368f8b8; expires=Tue, 09-Sep-2014 15:14:06 GMT; Max-Age=1800; path=/; httponly
Content-Type: text/html; charset=UTF-8

It looks like your Apache configuration is doing a HTTP 301 (permanent) redirection to But, is your subdomain pointing well to your droplet IP ? You can check it again with dig :

dig +short
--> empty response means no record !!!!

Your trouble may come from the fact you don’t have any DNS record to point the www subdomain for the domain !

You can issue that case by adding a new DNS record from your digitalocean admin panel , so that the subdomain ‘www’ points well your IP.

I hope this could be helpful to you. Feel free to tell if if it solved your issue ;)

See ya and enjoy all those incredible and amazing cloud solutions !

– rustx