• 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

Where can I change the apache DocumentRoot Variable?

DReffects

Basic Pleskian
Hey Folks,

I am trying to switch the DocumentRoot variable to a directory from a domain i've created in plesk so that every request to anygivensub.domain.com is being answered by the domain i've created in plesk.

i've tried to change the DocumentRoot in zz010_psa_httpd.conf but it has no effect.

would be great if someone could point me in the right direction :)

thanks,
daniel
 
Hello,

Don't edit zz010_psa_httpd.conf
since changes will get overwritten by PSA.

You will need to create a vhost.conf
in the domain's /conf dir and add
a wildcard alias to it.

It's explained in FAQ #955
 
Back
Top