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: <VirtualHost *:80> ServerName nameofsite.com DocumentRoot /var/www/wordpress/ </VirtualHost> <VirtualHost *:80> ServerName www.nameofsite.com Redirect permanent / http://nameofsite.com/


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.

Your browser’s cache was probably the culprit.

Eventually this issue seems to clear itself up…not sure why though?