Question

Using snapshot doesn't return correct web page

  I am trying to use the snapshot to recover a personal website. After creating a new droplet and setting up the apache2 environment. I get a apache2 test page rather than my original web page(located at the /var/www/html). 
 Any suggestions for solving this issue are appreciated.

 System : ubuntu 16.04
 Config file under apache2-available-sites : direct to /var/www/html

Best regards, peng


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.

Hello,

You would need to make sure that your website content is actually in the /var/www/html folder.

You could do that by first connecting to your server via SSH, then go to that directory:

cd /var/www/html

Then list the content of the directory and make sure that your site’s files are actually there:

ls -l /var/www/html

If your files are not there, you should redeploy your website.

Regards, Bobby