Question
After setting up WordPress on Droplet is still showing Apache It Works! Page?
I've followed the instructions here: https://www.digitalocean.com/community/articles/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime AND here: https://www.digitalocean.com/community/articles/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime
But when I pull up the site it still shows the default WordPress page.
I should note that I put the wordpress files not directly into the /var/www/ folder but into /var/www/wordpress/, I'll be hosting multiple sites, so that made sense.
But I made what I thought where the necessary changes in /etc/apache2/sites-available/nameofsite.com (I did use my actual domain name, not nameofsite.com) to handle this change:
ServerName nameofsite.com
DocumentRoot /var/www/wordpress/
ServerName www.nameofsite.com
Redirect permanent / http://nameofsite.com/
Add a comment
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.
×