By fhassanpur
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.