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.

Subdomain working but not log visits

Discussion in 'General Discussion' started by AmedeoSca, Oct 1, 2015.

  1. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    I create subdomain and all is good, but I have not in the access log and error log about subdomain but only about the main domain??

    Thanks
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Can you look in the access-logs folder, its located in the home directory of the account, do you see a log file there for the subdomain?
     
  3. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Hello,
    in the access-logs folder in the home directory I can only see the access log of the main domain, not for the subdomain..
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,814
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    How long ago did you create the subdomain? Keep in mind that statistics only generate once every 24 hours by default, so it's possible a statistics generation has yet to occur. You can force one for the account via:

    Code:
    /scripts/runweblogs $username
    Thank you.
     
  5. AmedeoSca

    AmedeoSca Member

    Joined:
    Aug 23, 2015
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Thank you for the reply, it's all ok...
     
Loading...

Share This Page