Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just upgraded a website from Plesk-9 (Ubuntu 8) to Plesk-11 (CentOS 6.3).

The Plesk-11 server was created with a specific subdomain "", this also became the default webspace. Then the old site was migrated using the migration manager, with the same domain "".

When accessing from a browser or an external server, everything works fine; files are being served from "/var/www/vhosts/".

But when the site itself links internally (from PHP running on the same server) to, file try to be hosted from "var/www/html" instead; the default page. Same if I try to use wget from SSH on the Plesk-11 server.

How do I fix it so even internal calls to "" go to the directory I want?

share|improve this question

closed as off-topic by HopelessN00b Feb 25 '15 at 8:54

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

How the internal like would normally look like at your site? Is it relative file path? absolute file path? full qualified URL? – Sergey L Jan 10 '13 at 18:58

Try to reconfigure the website using the following utility:

/usr/local/psa/admin/bin/httpdmng --reconfigure-domain domain_name

And check after this, this will fix the issue.

share|improve this answer
up vote 0 down vote accepted

Found a solution myself; removing the "" entry from /etc/hosts fixes it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.