• 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

Cannot point domain to new direcotry

AthlanA

New Pleskian
When I am setting new directory for domain, the domain is served from old directory.

1. New directory has exactly the same file permissions as old one.
2. Restarting httpd service doesnt work
3. I am using Plesk 12

Please help resolving the problem.

e24-plesk-domain-folder.png
 
What do you mean "domain is served from old directory"? Do you mean it is not root directory which was specified during domain creation? What is this "old directory" in this case?
 
When we are talking of change, there are two directories: an old and a new one.

Previously Plesk pointed the domain in standard directory: /httpdocs (which is exactly /var/www/domainname.com/httpdocs). - this is "old" directory.
I have created "new" directory /site1 (or any other name) (which is exactly /var/www/domainname.com/site1) and changed the domain settings, to point to the site1 direcotry, but webite's content is still served from httpdocs directory.

What happened?
 
Last edited:
Back
Top