The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Domain resolves to htdocs, not /home/ problem

Discussion in 'General Discussion' started by jollymon, Sep 10, 2006.

  1. jollymon

    jollymon Member

    Joined:
    Aug 28, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Well After a while here and some learned experiences I have hit a wall again. My domain name resolves (from my nameservers) to my apache/htdocs. I want to have it resolve to my /home/folder/

    ???????
     
  2. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    You could set this in your httpd.conf... An example ensues:

    # Control access to UserDir directories. The following is an example
    # for a site where these directories are restricted to read-only.
    #
    #<Directory /home/*/public_html>
    # AllowOverride FileInfo AuthConfig Limit
    # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    # <Limit GET POST OPTIONS PROPFIND>
    # Order allow,deny
    # Allow from all
    # </Limit>
    # <LimitExcept GET POST OPTIONS PROPFIND>
    # Order deny,allow
    # Deny from all
    # </LimitExcept>
    #</Directory>


    ALSO NOTE: In your WHM's setup, (Main >> Server Configuration >> Basic cPanel/WHM Setup) make sure that the following are set:

    Default Home Directory: /home
    Home Directory Prefix: home (without the slash)
     
Loading...

Share This Page