Report this

What is the reason for this report?

Web server stops working on restore?

Posted on July 30, 2013

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.



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!

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.

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.

Did you get a different IP address with the new droplet?

Yes, but i visited the new droplet I.P. address, not my domain.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.