Report this

What is the reason for this report?

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

Posted on April 17, 2016

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?



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.

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

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.