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

How to set a destination for a domain?

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

  1. eggzeck

    eggzeck Guest

    0
     
    How can i set the destination of a domain?

    Right now ALL domains are given access to the entire server.

    I want to be able to give a domain access to a certain dir, like /yourdomain will be its home dir.

    Any help will be appreciated.
     
  2. ShadowMan@

    ShadowMan@ Guest

    0
     
    Sounds like your Plesk server has something misconfigured. Normally a Plesk server will default to one of the following directory structures for domains:

    /home/httpd/vhosts/domain.tld
    or
    /var/www/vhosts/domain.tld

    Check your /etc/psa/psa.conf file and see if you have the following:

    # Virtual hosts directory
    HTTPD_VHOSTS_D /home/httpd/vhosts

    or

    # Virtual hosts directory
    HTTPD_VHOSTS_D /var/www/vhosts

    If not, then I would suspect that the entire psa.conf file may be bad (i don't like assuming that a single error is all)
     
  3. eggzeck

    eggzeck Guest

    0
     
    I did:

    less psa.conf

    And yes that line is in there:

    # Virtual hosts directory
    HTTPD_VHOSTS_D /home/httpd/vhosts

    :(

    I guess i'll have to see what I can do, thanks for your help ShadowMan.
     
  4. ShadowMan@

    ShadowMan@ Guest

    0
     
    Could you clarify what exactly you mean by "Right now ALL domains are given access to the entire server."
     
Loading...