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 (domain.com).
I followed the Digital Ocean host name tutorial directions here. To review, this is what I have done so far:
@and then my droplet’s IP address (e.g.
*and then my desired domain (e.g.
/etc/apache2/sites-enabled/000-default.conffile, I have:
ServerAdmin webmaster@localhost DocumentRoot /var/www/html ServerName example.com <Directory /var/www/html/> AllowOverride All </Directory>
example.com is my actual domain name.) I saw in another thread that I should edit the other file that is not
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 0.0.0.0:22 0.0.0.0:* LISTEN 881/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 969/sendmail: MTA: tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2604/mysqld tcp 0 0 127.0.0.1:587 0.0.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…
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.