SymptomsYou added a new IP address and changed it for a domain on the system. After changing the IP for the domain, the subdomains do not work. When looking at the IP information in the panel, the subdomains still show as pointing to the old IP address, yet when looking at the subdomain information in the domains panel, they show the new one.
Also, when looking at the "httpd" file in the conf directory of the subdomain, it still shows the old IP as well.
CauseThe reason for the issue is that incorrect permissions are set for the subdomains directory on the server.
ResolutionThe correct permissions are as follows:
root@test:# ls -la /var/www/vhosts/test.domain.com
drwxr-x--- 2 test psaserv 4096 2012-02-04 21:45 httpdocs
The permissions for the virtual host are to be reconfigured:
/usr/local/psa/admin/bin/websrvmng --remove-vhost --vhost-name=test.domain.com
/usr/local/psa/admin/bin/websrvmng --reconfigure-vhost --vhost-name==test.domain.com