Question

Trying to migrate site with importbuddy: 404 on mydomain.com/importbuddy.php

So, I have followed the steps in this answer https://www.digitalocean.com/community/questions/importbuddy-and-migrating-from-backupbuddy-backup

I have a LAMP droplet Installed Apache, MySQL and PHP Created /root/var/www/html, set permissions to 777 Moved the archive and backupbuddy to the /root/var/www/html when i try to access the script via mydomain.com/importbuddy.php I see nothing Funnily enough, when I tried the same with a WP droplet, I could at least access the script

Could you please help me find what I’m missing here?

Subscribe
Share

Submit an 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.

Hi.

Apache’s default document root is /var/www/html, not /root/var/www/html. If you move the files there, Apache will be able to serve them and browsing to domain.com/importbuddy.php should then work.

sudo mv /root/var/www/html/* /root/var/www/html/.* /var/www/html