• 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

Resolved vhost renamed but logfiles are still written

TomE

Basic Pleskian
Hello everyone,

i know this is not a PLESK problem but maybe someone has a tip for me.

I have renamed a vhost folder (from domain_123 to domain_renamed) and created a new one with the original name (domain_123). But it is still written to the logfile (access_log ....) of the changed vhost (domain_renamed) under /logs/ and not to the new folder (domain_123).

So now there is a folder domain_renamed and domain_123 under /var/www/vhost/ and the logfiles are written under /var/www/vhost/domain_renamed/logs/* although the request goes to domain_123.

- a server restart did not help
- rights and owners from vhost and logs folder are correct
- changing and saving the hosting settings did not help

What can I do?

Many thanks and greetings,
Tom
 
How did you rename this vhost?

Anything other than via the Plesk Panel may cause unexpected issues.

You can simply rename the domain via Plesk Panel
 
i have now renamed the vhost again via the plesk interface and restarted the server. Now everything works and it is written into the correct logfile :)

Thank you!!!
 
Back
Top