• 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

Domain http directory setup issues

B

bigpete

Guest
Hope someone can help....

Just had my server reimaged and am setting up my domains again.

My issue is that when I setup a domain the httpdocs and httpsdocs directory still points to /home/httpd/vhosts/default/htdocs for the new domain.
In the past, setting domains automatically made the relevant changes to move the secure and non-secure http to /home/httpd/vhosts/domain.

Anyone have any ideas on what may be going wrong?

Cheers.
 
It looks to me like the Apache configuration doesn't include the new domains. Check:

/etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.include
 
Yes, not sure why though. Restarting apache clears the error and it behaves with the includes.

Are the includes dynamic?
Or is there a setting in pleask to restart the apache server?

Any advice appreciated.
 
Back
Top