Article ID: 113369, created on Feb 25, 2012, last review on Jul 23, 2015

  • Applies to:
  • Plesk 10.x for Linux

Symptoms

You 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.

Cause

The reason for the issue is that incorrect permissions are set for the subdomains directory on the server.

Resolution

The 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
root@test#


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

dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF