Web server stops working on restore?

I had a droplet running django and apache+mod_wsgi for a web server. I recently wanted to switch to the S.F. data center so I created a snapshot of my droplet and then destroyed my Ny1 droplet. After i restored my droplet, I visited the I.P. address of my server and I get “It works!” default apache webpage. Everything is still intact and I reloaded apache multiple time but I still no luck. Any help is appreciated.

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.

Run the following command as root: <br> <br>“grep -r -i ‘old IP’ /etc/apache2/sites-enabled” <br> <br>Edit all the files that were listed in grep’s output and make sure your IP address is correct.

What’s the contents of <b>/etc/apache2/sites-enabled</b>? You should also update your DNS records w/the new IP address, if you haven’t done so already.

Yes it has a new IP address and my files are on the droplet, but for some reason django does not show up.