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

Default Subdomain

Discussion in 'Plesk for Linux - 8.x and Older' started by SergheiH, Feb 28, 2010.

  1. SergheiH

    SergheiH Guest

    0
     
    Hi

    I'm using 1and1 dedicated server with Plesk installed.
    Right now if entering on any subdomain of my main domain, like: not-existing-subdomain.domain.com it will show the files from the main domain: www.domain.com

    What I need is to show for all not existing subdomains the files from another directory of an existing subdomain, not from here:
    /var/www/vhosts/domain.com/httpdocs

    but from here:
    /var/www/vhosts/domain.com/subdomains/existing-subdomain/httpdocs

    A simple redirect won't work because I am redirecting the users to their "own" subdomain: username.domain.com , and they have to remain there.

    Thanks
     
Loading...