1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Renaming website's root directory?

Discussion in 'Plesk 11.x for Linux' started by iantresman, Jan 18, 2013.

  1. iantresman

    iantresman Basic Pleskian

    17
    35%
    Joined:
    Oct 14, 2011
    Messages:
    82
    Likes Received:
    0
    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?
     
  2. Faris Raouf

    Faris Raouf Silver Pleskian Plesk Guru

    31
    30%
    Joined:
    Mar 15, 2009
    Messages:
    667
    Likes Received:
    17
    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.
     
Loading...