• 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

Renaming website's root directory?

iantresman

Basic Pleskian
If I change a directory's root directory on the Hosting Settings page, from the default "httpdocs" to "my-domain.com", will it (a) rename the existing directory (b) create a new directory, and leave all the previous content behind?

If the latter, can I manually rename the directory, and then updating the root directory?
 
I've never tried it, but instinct tells me it will rename it, because otherwise you'd be left with an orphan directory.

There's one easy way to find out: try it!

If it doesn't rename then you can just copy the files accross.
 
Back
Top