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.

alias of domain, where will it log?

Discussion in 'General Discussion' started by tuckkor, Mar 26, 2006.

  1. tuckkor

    tuckkor Registered

    Joined:
    Mar 26, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have CPanel, and i have added an Addon to my Cpanel. Logging for that domainA.com works.

    I then add an alias to httpd.conf to have domainB.com linked to a folder under my Cpanel's folder (one of domainA.com's subfolder).

    Where wil the access.log for domainB.com logged?

    Thanks!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you add it to the same virtualhost container it will be logged to the orignal domains apache log.
     
  3. tuckkor

    tuckkor Registered

    Joined:
    Mar 26, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    it's a different virtualhost container, so where is the access.log??
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It will be whereever you've configured it to be stored in the virtualhost container, presumably in domlogs/ with all the others. If you're referring to the end-user accessible logs within cPanel, then that will only be seen if you've used the correct options in cPanel/WHM for parking or adding an add-on domain, not if you've done it by hand within httpd.conf, though it won't be there until the stats log has run.
     
  5. tuckkor

    tuckkor Registered

    Joined:
    Mar 26, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    My Virtual Host container:

    <VirtualHost 69.93.5.112>
    ServerAlias www.domainB.co.uk
    ServerAdmin webmaster@domainB.co.uk.user.domainA.com
    DocumentRoot /home/domainB/public_html/domainX.co.uk/domainB
    BytesLog domlogs/domainX.co.uk.user.domainA.com-bytes_log



    CustomLog /usr/local/apache/domlogs/domainB.co.uk.user.domainA.com combined

    </VirtualHost>


    Note: domainA and domainB are actually other domain in lower case.

    So where will the log file be located?
     
Loading...

Share This Page