• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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