Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    718
    Likes Received:
    122
    Trophy Points:
    168
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    44,288
    Likes Received:
    1,846
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice