mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e "UPDATE IP_Addresses SET default_domain_id = 0 WHERE ip_address = 'IPADDRESS';"
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e "UPDATE IP_Addresses SET default_domain_id = 0;"
/usr/local/psa/admin/sbin/websrvmng -a -v
http://blog.serverbuddies.com/removing-a-default-domain-from-one-of-your-ip-addresses-in-plesk/
留言