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

How to make subdomains directory be under the root domain directory?

Discussion in 'Plesk for Linux - 8.x and Older' started by hp_solomon, Oct 23, 2005.

  1. hp_solomon

    hp_solomon Guest

    0
     
    By default in plesk, the directory structure of the site when i access it through FTP:

    bin
    cgi-bin
    conf
    error_docs
    etc
    httpdocs ---> root folder of the site...
    lib
    pd
    private
    subdomains ---> folders for subdomains
    tmp
    usr
    var
    web_user

    My question is how can i make my subdomain directory under the root of my domain site?

    bin
    cgi-bin
    conf
    error_docs
    etc
    httpdocs ---> root folder of the site...
    ------ subdomains --> folders for subdomains
    lib
    pd
    private
    tmp
    usr
    var
    web_user

    How can i make my subdomains be under the root domain directory.

    I need to do this to setup a single session for domans and subdomains. I can't find it on the control pannel that sets this.

    i hope someone can help me. Please help.
     
  2. hp_solomon

    hp_solomon Guest

    0
     
  3. ShadowMan@

    ShadowMan@ Guest

    0
     
    Obviously you cannot do it with the native Plesk subdomain creation facility.

    You can do it either manually, and have to do all the details yourself, or you can use 4PSA's Total Domains product, which does create subdomains under the domain's docroot as you describe.
     
  4. hp_solomon

    hp_solomon Guest

    0
     
    how can i use the 4 PSA? is this an upgrade?

    How can I do it manually.. can u teach me... any references.. Please..

    Thank you very much...
     
  5. ShadowMan@

    ShadowMan@ Guest

    0
     
    It is generally not recommended to do it manually unless you have more Linux experience, and are prepared for Plesk to possibly overwrite your manual changes at any time (such as updates/upgrades, control panel changes to the domains)

    To do it manually, in a nutshell, you would login root SSH and manually create the directory structures you want, then upload the files. Manually configure the domain's httpd.include, vhost.conf and any other apache domain config files. Edit the main domain's DNS entries for the subdomains you create.

    Make use of the Plesk /usr/local/psa/admin/bin/websrvmng script after making changes, restart the apache service. Basically that is the procedure. Make backups of all config files you change so that when Plesk overwrites the files, you can easily copy them back into place.

    From what I have seen from your posts, ( I do not mean to offend) but you seem to have a limited amount of sys admin experience, so I would recommend that you use the 4PSA Total Domains product (or go for a bundle package).

    Their prices are very fair, and actually one of the forum users (Poke) I believe has been running discounts on the 4PSA bundle products.

    www.jbwebhosting.com
    email sales@jbwebhosting.com for a solution!
    - Products for Plesk :: 10% off all products & Bundles! www.jbwebhosting.com/4psa_jb.html

    4PSA products are 3rd Party addons for Plesk. See http://www.4psa.com I and many others highly recommend their products.

    I only give you the quick nutshell outline because I really do not have the time or patience to hold a full training class here on the forum. The manual way of doing it is not something which a Plesk forum should be used for. Use Google or buy a book on Linux or Unix basics, and Apache 2
     
Loading...