• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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