{"id":24206,"date":"2022-02-02T14:24:27","date_gmt":"2022-02-02T14:24:27","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/"},"modified":"2025-05-27T08:40:54","modified_gmt":"2025-05-27T08:40:54","slug":"how-to-access-my-website-stats-without-logging-into-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/","title":{"rendered":"How to access my website stats without logging into cPanel?"},"content":{"rendered":"<blockquote><p><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">This<span style=\"font-size: 13px; font-weight: 400; text-align: start; text-indent: 0px; display: inline !important;\"> access your website statistics (AWStats) without login into <\/span>article provides you with steps to <span style=\"font-size: 13px; font-weight: 400; text-align: start; text-indent: 0px; display: inline !important;\">cPanel.<\/span> Please note that these steps are for advanced users who know cPanel folder structure.<\/span><\/p><\/blockquote>\n<h2><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><span style=\"font-size: 24px;\"><strong>What is AWStats?\u00a0<\/strong><\/span><\/span><\/h2>\n<p><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">AWStats is a free powerful and featureful tool that generates advanced web, streaming, FTP or mail server statistics, graphically. This tool is available on all our cPanel and WSP packages.<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 573px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33041189462\/original\/n_6oeWuYn3zkqspbrRiKfbn-HleMZcZGyw.png?1590574528\" height=\"249\" data-attachment=\"[object Object]\" data-id=\"33041189462\" \/><\/span><\/p>\n<h2><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><span style=\"font-size: 24px;\"><strong>How to access AWStats without logging into cPanel?<\/strong><\/span><\/span><\/h2>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<ul>\n<li><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\">Get yourself a copy of AwStats from<\/span> <a href=\"http:\/\/awstats.sourceforge.net\" rel=\"noreferrer\">http:\/\/awstats.sourceforge.net<\/a>. <span style=\"color: #000000;\">The latest version available at the time of this writing is AWStats 7.8.<\/span><\/span><\/li>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Extract the content from the archive to your hard drive.<\/span><\/li>\n<li><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\">Using an FTP client, create a directory at the root of your website (ie.: \/public_html) and name it \u201cstats\u201d (or whatever you\u2019d like to call it). At this point, your directory should be accessible like this:<\/span> <a href=\"http:\/\/www.yourwebsite.com\/stats\" rel=\"noreferrer\">http:\/\/www.yourwebsite.com\/stats<\/a><\/span><\/li>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Next upload the content from AWStats-6.7www.rootcgi-bin to your stats directory you\u2019ve just created.<\/span><\/li>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Using your FTP client, change the file permissions on awredir.pl and awstats.pl to 755 so that anyone can execute these scripts.<\/span><\/li>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Still using FTP, download the AwStats configuration file created by cPanel to your computer. This file is usually located in \/tmp\/awstats\/awstats.[your website].conf<\/span><\/li>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Upload this file back to your web hosting account in your \/public_html\/stats folder.<\/span><\/li>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Create a directory named images in \/public_html (ie.: \/public_html\/images).<\/span><\/li>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Upload the AwStats icon folder (ie.: AWStats-6.7\/wwwroot\/icon) to your images folder you\u2019ve just created. Rename the icon folder to AWStats (ie.: \/public_html\/images\/awstats).<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\">At this point, you should now be able to access AWStats with this URL:<\/span> <a href=\"http:\/\/www.yourwebsite.com\/stats\/awstats.pl?config=yourwebsite.com\" rel=\"noreferrer\">http:\/\/www.yourwebsite.com\/stats\/awstats.pl?config=yourwebsite.com<\/a><\/span><\/p>\n<p><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">But we\u2019re not done yet. We don\u2019t want everybody to access our statistics!<\/span><\/p>\n<ul>\n<li><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\">Please see our article here on<\/span><a href=\"https:\/\/1-grid.com\/knowledge\/cpanel-how-to-password-protect-a-directory\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u00a0how to password protect a directory.<\/a><\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\"><strong>Note for WordPress users:<\/strong> password-protecting a subdirectory will not work because of the redirections instructions in the .htaccess file at the root of your website. While it\u2019s not impossible to make it work, it\u2019s easier to create a subdomain for AWStats (ie.:<\/span> <a href=\"http:\/\/stats.yourwebsite.com\" rel=\"noreferrer\">http:\/\/stats.yourwebsite.com<\/a>).<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\">Ok great we can now access AwStats outside cPanel. But we can make things even easier. How about accessing your stats at<\/span> <a href=\"http:\/\/www.yourwebsite.com\/stats\" rel=\"noreferrer\">http:\/\/www.yourwebsite.com\/stats<\/a> <span style=\"color: #000000;\">and not having to specify the configuration file?<\/span><\/span><\/p>\n<ul>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Using Notepad, create a file named index.php on your computer and add the following content:<\/span><\/li>\n<\/ul>\n<div class=\"divSourceCode\" style=\"box-sizing: border-box;\">\n<pre style=\"box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 13px; display: block; padding: 9.5px; margin: 0px 0px 10px; line-height: 1.42857; color: #333333; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 4px;\"><span style=\"font-family: Helvetica,sans-serif;\">&lt;?php<\/span><\/pre>\n<pre style=\"box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 13px; display: block; padding: 9.5px; margin: 0px 0px 10px; line-height: 1.42857; color: #333333; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 4px;\"><span style=\"font-family: Helvetica,sans-serif;\">header('Location: http:\/\/www.yoursite.com\/stats\/awstats.pl?<\/span><\/pre>\n<pre style=\"box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 13px; display: block; padding: 9.5px; margin: 0px 0px 10px; line-height: 1.42857; color: #333333; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 4px;\"><span style=\"font-family: Helvetica,sans-serif;\">config=yoursite.com');<\/span><\/pre>\n<pre style=\"box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 13px; display: block; padding: 9.5px; margin: 0px 0px 10px; line-height: 1.42857; color: #333333; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 4px;\"><span style=\"font-family: Helvetica,sans-serif;\">?&gt;<\/span><\/pre>\n<\/div>\n<ul>\n<li><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Upload this file in your stats folder (ie.: \/public_html\/stats)<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\"><span style=\"color: #000000;\">Now try to open<\/span> <a href=\"http:\/\/www.yourwebsite.com\/stats\" rel=\"noreferrer\">http:\/\/www.yourwebsite.com\/stats<\/a> <span style=\"color: #000000;\">with your web browser. You should now be prompted for a username and password. You will then be redirected automatically to your statistics page!<\/span><\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This access your website statistics (AWStats) without login into article provides you with steps to cPanel. Please note that these steps are for advanced users who know cPanel folder structure. What is AWStats?\u00a0 AWStats is a free powerful and featureful tool that generates advanced web, streaming, FTP or mail server&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[24],"ht-kb-tag":[55,233,238,480,584,959,1106,1112,1144],"class_list":["post-24206","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-website","ht_kb_tag-access","ht_kb_tag-control-panel","ht_kb_tag-cpanel","ht_kb_tag-how-to","ht_kb_tag-logging","ht_kb_tag-stats","ht_kb_tag-web-hosting","ht_kb_tag-website","ht_kb_tag-without"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to access my website stats without logging into cPanel? -<\/title>\n<meta name=\"description\" content=\"This access your website statistics (AWStats) without login into article provides you with steps to cPanel. 1-grid Knowledge Base\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to access my website stats without logging into cPanel? -\" \/>\n<meta property=\"og:description\" content=\"This access your website statistics (AWStats) without login into article provides you with steps to cPanel. 1-grid Knowledge Base\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-27T08:40:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33041189462\/original\/n_6oeWuYn3zkqspbrRiKfbn-HleMZcZGyw.png?1590574528\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/\",\"name\":\"How to access my website stats without logging into cPanel? -\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2022-02-02T14:24:27+00:00\",\"dateModified\":\"2025-05-27T08:40:54+00:00\",\"description\":\"This access your website statistics (AWStats) without login into article provides you with steps to cPanel. 1-grid Knowledge Base\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to access my website stats without logging into cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to access my website stats without logging into cPanel? -","description":"This access your website statistics (AWStats) without login into article provides you with steps to cPanel. 1-grid Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to access my website stats without logging into cPanel? -","og_description":"This access your website statistics (AWStats) without login into article provides you with steps to cPanel. 1-grid Knowledge Base","og_url":"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2025-05-27T08:40:54+00:00","og_image":[{"url":"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33041189462\/original\/n_6oeWuYn3zkqspbrRiKfbn-HleMZcZGyw.png?1590574528"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/","url":"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/","name":"How to access my website stats without logging into cPanel? -","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2022-02-02T14:24:27+00:00","dateModified":"2025-05-27T08:40:54+00:00","description":"This access your website statistics (AWStats) without login into article provides you with steps to cPanel. 1-grid Knowledge Base","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-access-my-website-stats-without-logging-into-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"How to access my website stats without logging into cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=24206"}],"version-history":[{"count":3,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24206\/revisions"}],"predecessor-version":[{"id":33231,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24206\/revisions\/33231"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=24206"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=24206"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=24206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}