./move_domain.sh problem

frogan

New member
Joined
Nov 4, 2016
Messages
1
Hi there,

I am currently trying to move a domain to another user.
I try this code: cd /usr/local/directadmin/scripts
./move_domain.sh domain.com olduser newuser

It works fine. However, the page that was transfered then does not load. I get no error while loading the page, no errors in log files (checked them all).
If I transfer the domain back the page starts working fine again.

What could be the problem? If that is any help, the page is a wordpress site.

Thanks in advance and have a good one.
 
Hello,

There is no chance for us to guess what might be wrong by your side. So here you can find general suggestions:

1. make sure to correct paths to your new document root in WP configs and plugins (if it's required).
2. make sure to move (manually) a database to a new user, as the script does not move any DBs (you will need to change config accordingly).
3. read error logs of a web-server for more details.
 
The ./move_domain.sh script does not move MySQL databases. It moves everything else, except for MySQL databases.

You will need to manually export the database, create a new database under the new user and then import the database.
 
Back
Top