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

Create subdomain with DocumentRoot based on parent domain DocumentRoot

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by EmilianoS, Jul 10, 2010.

  1. EmilianoS

    EmilianoS Guest


    I would like to know how do I create a subdomain with a vhost DocumentRoot based on the parent domain DocumentRoot.

    DocumentRoot: /var/www/vhosts/mydomain.com/httpdocs

    The default DocumentRoot for a subdomain is like this:
    DocumentRoot: /var/www/vhosts/mydomain.com/subdomains/subdomain1/httpdocs

    So I would like to have a DocumentRoot like this:

    I want this so I can access the same website with this URLs

    The only way I know to do this is by editing the vhosts.conf

    There is any other way to do this using Plesk Panel?

    Thank you.