Followed tutorial for how to setup a host name with Digital Ocean, but still cannot use domain name with Wordpress

I am setting up a small droplet ($5/mo) with a basic Wordpress installation. I followed the instructions for setting up Wordpress using the LAMP stack from here.

The installation itself seems to be fine, the problem I am having now is that I cannot redirect my domain name to the Wordpress site. The behavior I am seeing is if I go to my droplet’s IP address in the browser I am taken to the Wordpress site; however, if I enter my domain name I am taken to the “Is this your domain name? Click here to manage your domain” splash page that my provider uses (

I followed the Digital Ocean host name tutorial directions here. To review, this is what I have done so far:

  • I logged into my domain provider and changed the name servers to the x3 Digital Ocean name servers
  • In the DO control panel I went to the DNS tab and added my domain name to my droplet.
  • I have an A record that is @ and then my droplet’s IP address (e.g. a.b.c.d)
  • I have a CNAME record that is * and then my desired domain (e.g.
  • The three name servers are the Digital Ocean name servers.
  • In the Apache /etc/apache2/sites-enabled/000-default.conf file, I have:
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html
        <Directory /var/www/html/>
                AllowOverride All

(Where is my actual domain name.) I saw in another thread that I should edit the other file that is not 000-default.conf; however, 000-default.conf is the only file I have in that directory.

Port 80 is open - see output of sudo netstat -plunt:

$ sudo netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0    *               LISTEN      881/sshd
tcp        0      0  *               LISTEN      969/sendmail: MTA:
tcp        0      0*               LISTEN      2604/mysqld
tcp        0      0 *               LISTEN      969/sendmail: MTA:
tcp6       0      0 :::22                   :::*                    LISTEN      881/sshd
tcp6       0      0 :::80                   :::*                    LISTEN      4626/apache2

Please let me know if there’s anything else I can provide.

EDIT: I made all these changes ~24 hours ago. I realize that sometimes it takes a little while to propagate the changes, but I believe that it’s still well below 24 hours…

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.

The configuration error is no problem, the command you need to use depends on the OS you are using. The second command gives an output of the vhost, with a result that the default vhost is being used. Good to hear you got it solved now, for any more questions I’ll be happy to help you.

This comment has been deleted

Is the default vhost enabled?

apache2 -S
apache2ctl -S

Did you also restart the apache service? And please remove your computers DNS cache or put the domain name here. It could be possible that you are still receiving the cache instead of realtime site.