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

Changing the Document root and subdomains

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by AleksanderM, Jun 24, 2012.

  1. AleksanderM

    AleksanderM Guest


    1. I'm using a trial version of the plesk panel 10.04. For the "default" domain (the one from the dedicated hosting provider) i'm trying to change the default Document Root without success. The folder layout looks like this:

    So the default configured by plesk is: /var/www/vhosts/my.domain.com/httpdocs (appears in panel as /httpdocs)
    And i've changed it to: /httpdocs/public (the /var/www/vhosts/my.domain.com/httpdocs/public exists and has proper ownership/access rights/content). After this change the browser gives "Server not found" error for http://my.domain.com/

    2. When i add a subdomain for example www.my.domain.com Plesk creates two folders


    With the same content. It is confusing. Which one should I use.

    Best Regards,