• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Change default domain on IP

Login to Plesk CP and click on Server, click on IP Addresses.

In the column 'Hosting', click on the number on the IP address line.

Click on the dot for the domain you want to be default, click on the link 'Set as default'
 
I want there to be no default domain set, like my other ip has (so if you just go to that ip, it goes to my no website configured here page).
 
Ok, that was not clear from what you posted here.

It looks like the psa database, in table "IP_Addresses" has a field "default_domain_id" which would either be NULL (for exclusive IPs), zero (for shared IPs), or the domain id (value greater than zero if a default domain has been set).
 
Thanks. What do i do to have it rewrite the configuration files for apache now?
 
Looks like after you modify the database, the only other thing you have to do is manually edit the /etc/httpd/conf/httpd.include file to move the line

"Include /home/httpd/vhosts/domain.tld/conf/httpd.include"

from before the <VirtualHost \ tag to the bottom of the file, then restart the apache service.
 
I looked in there, I dont see anything that is different for the second ip than the first... there is nothing to move anyplace else.
 
If you look in the /etc/httpd/conf/httpd.include file, do a search for lines beginning with 'Include' which specify the domain path/httpd.include.

The Include line for the domain which WAS set for the IP default should be moved to the bottom of the file, after the <VirtualHost> section. Once this is done and apache is restarted, my test domain and IP then reverted back to the default Plesk page when browsing to the IP.
 
Back
Top