• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

vhost.conf root directory

Raza

New Pleskian
After wasting 2 days i'm still not able to set custom root directory.
What I done so far:
created a vhost.conf file in /var/www/vhosts/system/<domain.tld>/conf and content of vhost.conf are same like http://kb.odin.com/en/5464
and after that this command:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain <domain.tld>
but still when i visit <domain.tld>, it is pointing to /var/www/vhosts/default/htdocs
when i change directory location in /etc/httpd/conf/plesk.conf.d/server.conf then everything works fine but it is auto generated file so i can not rely on that.
my os is centOS 6, plesk 12 and php 5.6
 
Back
Top