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

Subdomain a folder of the mainsite

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by lamc09, Dec 31, 2010.

  1. lamc09

    lamc09 Guest

    Hi - I have searched the forum but cannot find an answer for PLESK 9

    I have just changed VPS service providers for an existing site with 4 well indexed subdomains, and with it moved from CPANEL to PLESK 9.5 Linux.

    The site was set up perfectly as I wanted it in CPANEL - where all the site was under public_html, and the subdomains (auto created by CPANEL) were simply subfolders of the main site. The URLs were however www.subdomain.domain.com - which is exactly what we wanted. It also means that I can simply click synchronise in Dreamweaver and update all the site at once.

    BUT since migrating over to PLESK - I now see that none of this is automated and the subdomains sit on the root which is weird as they are treated as their own websites and make maintenance way more time-consuming from a web developers point of view. None of this is ideal and I seem to have now spent 2 full working days trying to sort this out to no avail (I am not a network specialist just general IT).

    Currently I have managed to get the subdomains operational by populating the folders created at root incl www prefix, but the none www shows a plesk page.

    What I would like to simply do - is recreate what I had under CPANEL:
    1) all subdomains point to their subfolder on the main site
    2) all subdomains have the www in front of them, where the none www redirects to www (this is how they are indexed on the search engines)

    Is there any step by step guide that explains how I do this? It's so simple in CPANEL (a matter of seconds) and to spend 2 whole days messing around with CONF files and DNS settings with no result is very disheartening.

    Thanks so much for your time

    PS - I understand on other versions of PLESK this was also automated - shame something clearly so useful was not included on this version
    Last edited by a moderator: Dec 31, 2010
  2. lamc09

    lamc09 Guest

  3. LAM09

    LAM09 Guest