Copy an Account From Another Server (ssh root)

zstergios

Member
Jul 12, 2013
11
0
1
cPanel Access Level
Root Administrator
Hello guys!,
I haved transfered and restored an account via WHM successfully BUT when I visited it (I changed the windows hosts file to check if OK and after that to edit the DNS zone in OLD server), the html pages works BUT php pages (joomla for example) says:

Code:
404 Not Found

The server can not find the requested page:

    www.THEDOMAiN.com/index.php (port 80) 

Please forward this error screen to www.THEDOMAiN.com's WebMaster.
I have restarted the appache, I have removed the .htaccess but without luck..

This happened ONLY Copy an Account From Another Server (ssh root), when I manualy move the restore backup file from old to new and I restore it works OK. So something different does this function...
 

inthukha

Well-Known Member
Jul 17, 2013
61
0
6
cPanel Access Level
Root Administrator
404 Not Found
404 mean NOT FOUND. it means you moved the user from another server are both different. i.e check both directories names and user name. in most cases usernames are different that is why apache didn't find the files in in /home/username/public_html/
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Check to see if the index.php file exists, and that you have also inserted the "www" prefix hostname in your hosts file on your system.

Thank you.