[Info] How do I set no default domain for an IP?

Created:

2016-11-16 13:20:54 UTC

Modified:

2017-08-16 17:05:21 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[Info] How do I set no default domain for an IP?

Applicable to:

  • Plesk 11.x for Linux

Resolution

If you set some domain as default for an IP with the  Server ->; IP Addresses ->; Hosting ->; Set As Default and wish to revet this back, use the command:

MYSQL_PWD= cat /etc/psa/.psa.shadow mysql -uadmin -nBe 'update IP_Addresses set default_domain_id=0 where ip_address="IP_ADDRESS"' psa``

Then rebuild Apache configuration files with the " PRODUCT_ROOT_D /admin/sbin/websrvmng -a -v" command.

IP_ADDRESS - Shoud be replaced by real IP address from the server.

Additional Information

Here you can find our how to set default domain for IP address.

Have more questions? Submit a request
Please sign in to leave a comment.