Can't open transferred website from old server to new server
2
votes
1
answer
270
views
I have 2 dedicated servers both running CentOS 5.3/Plesk 10. I've transferred a website (domain) from old server to a new one via Plesk migration manager and the website (domain) shows in the domain list on Plesk, and it's files are in
/var/www/vhosts/domain.com/httpdocs/
I tried to open the website like this: http://xx.xx.xx.xx/example.com
where xx.xx.xx.xx
is a shared IP that I've assigned to the domain on a new server during transfer and example.com
is website's domain name. Instead of website loading I get a 404 error. How can I open the website and see if everything is ok? Essentially, what is the path (using IP) to the website until it gets DNS sorted out?
The apache error_log
file shows:
[Tue Aug 23 11:05:15 2011] [error] [client xx.xx.xx.xx] File does not exist: /var/www/vhosts/default/htdocs/example.com
This is where the problem exists, I've expected it to follow path like this:
/var/www/vhosts/example.com/htdocs/
and instead the server apparently tries this:
/var/www/vhosts/default/httpdocs/example.com
Note the difference - htdocs
and httpdocs
, which is the actual folder on the server.
I need to know that the website is running ok, otherwise I cannot assign DNS to make it live.
I am able to access the website if I edit hosts file on my PC with something like that:
192.0.2.4 example.com
So how come I can't load it like this: http://192.0.2.4/example.com/
?
Asked by Caballero
(438 rep)
Aug 23, 2011, 12:08 PM
Last activity: Sep 9, 2018, 06:09 PM
Last activity: Sep 9, 2018, 06:09 PM