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

Article ID: 1705 
Last Review: Oct,6 2008
Author: Dmitry Frantsev APPLIES TO:
  • Plesk for Linux/Unix

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 -uadmin -p`cat /etc/psa/.psa.shadow` -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.


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields