Plesk 11 faulty internal redirection

view full story

http://serverfault.com – 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 "sub.example.com", this also became the default webspace. Then the old site was migrated using the migration manager, with the same domain "sub.example.com". When accessing sub.example.com from a browser or an external server, everything works fine; files are being served from "/var/www/vhosts/example.com/subdomains/sub/httpdocs". But when the site itself links internally (from PHP running on the same server) to sub.example.com, file try to be hosted from (HowTos)