• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.

Can't change default virtualhost

Guest
Problem was in 10.4.4 and remained after upgrade to 11.0.9. (on debian)

I'm going to "Settings -> IP Addresses -> Domains" and changing default virtualhost to some virtualhost. Unfortunately, nothing has changed


/etc/apache2/conf.d/zz010_psa_httpd.conf
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
Include '/opt/psa/admin/conf/generated/13410405730.94904100_server.include'
Include '/opt/psa/admin/conf/generated/13410405730.94904100_horde.include'
Include '/opt/psa/admin/conf/generated/13410405730.94904100_atmail.include'
Include '/opt/psa/admin/conf/vhosts_bootstrap.conf*'

Let's look into first included file:

...
DocumentRoot "/var/www/vhosts/default/htdocs"
...

:-(
 
Use /usr/local/psa/bin/transvhosts.pl utility for changing vhosts location.
 
Use /usr/local/psa/bin/transvhosts.pl utility for changing vhosts location.

No, i don't need to change vhosts location. I just want to associate http://<my_sha_red_ip>/ with one of websites, hosted my server. Not with mysterious /default/.

For this, the line
Include '/opt/psa/admin/conf/vhosts_bootstrap.conf*'
has to be placed first in /etc/apache2/conf.d/zz010_psa_httpd.conf
 
Back
Top