{"id":799,"date":"2024-06-27T10:16:58","date_gmt":"2024-06-27T10:16:58","guid":{"rendered":"https:\/\/serverspros.com\/?post_type=glossary&#038;p=799"},"modified":"2024-06-27T10:16:58","modified_gmt":"2024-06-27T10:16:58","slug":"awstats","status":"publish","type":"glossary","link":"https:\/\/serverspros.com\/en\/wiki\/awstats\/","title":{"rendered":"AWStats"},"content":{"rendered":"<p><strong>AWStats: A Powerful Tool for Web Traffic Analysis<\/strong><\/p>\n<p>AWStats (Advanced Web Statistics) is a free and open-source web log analysis tool that transforms raw server log file data into comprehensive and easy-to-understand reports. Compatible with various server types, including Apache and <span class=\"glossary-tooltip glossary-term-825\"><span class=\"glossary-link\"><a href=\"https:\/\/serverspros.com\/en\/wiki\/nginx\/\" target=\"_blank\">Nginx<\/a><\/span><span class=\"hidden glossary-tooltip-content clearfix\"><span class=\"glossary-tooltip-text\">Nginx is an open-source web server known for its high performance and low resource utilization. Favored by both small websites and large enterprises, Nginx also acts as a reverse proxy, load balancer, and content cache, significantly improving the efficiency and speed of web applications....<\/span><\/span><\/span>, AWStats offers a wide variety of indicators and metrics to better understand visitor behavior on a website.<\/p>\n<p><strong>1. Key Features of AWStats<\/strong><\/p>\n<p>AWStats provides a series of robust features that make it a popular choice among system administrators and webmasters. These features include:<\/p>\n<ul>\n<li><strong>Detailed Reports:<\/strong> Provides detailed information on visitors, pages viewed, visit duration, and access methods used.<\/li>\n<li><strong>Cross-Platform Compatibility:<\/strong> Works with a variety of operating systems, including Windows, Linux, and MacOS.<\/li>\n<li><strong>Support for Multiple Servers:<\/strong> In addition to Apache and Nginx, it is also compatible with other web servers such as IIS and WebStar.<\/li>\n<li><strong>User-Friendly Web Interface:<\/strong> Includes a graphical interface that facilitates data interpretation and report customization.<\/li>\n<li><strong>Automatic Updates:<\/strong> Can be configured to automatically update statistics at set intervals.<\/li>\n<\/ul>\n<p><strong>2. Benefits of Using AWStats<\/strong><\/p>\n<p>Using AWStats presents several significant benefits for businesses and website administrators:<\/p>\n<ul>\n<li><strong>Optimization of Marketing Strategies:<\/strong> Reports on traffic, referring sources, and keywords can help optimize marketing campaigns and improve SEO positioning.<\/li>\n<li><strong>Website Performance Monitoring:<\/strong> Allows identification and resolution of website performance issues, such as slow loading times or server errors.<\/li>\n<li><strong>Identification of User Behaviors:<\/strong> Helps understand how users interact with the site, which pages they visit most frequently, and how long they spend on the site.<\/li>\n<li><strong>Security:<\/strong> It allows detection of unauthorized access attempts and suspicious activity patterns that could indicate a cyberattack.<\/li>\n<\/ul>\n<p><strong>3. AWStats Installation and Configuration<\/strong><\/p>\n<p>The installation and configuration of AWStats is relatively straightforward, although it requires basic knowledge of server administration and access to the web server's configuration files. Below are the general steps to install AWStats on an Apache server on a Linux system:<\/p>\n<ol>\n<li>\n<p><strong>Install the AWStats package:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo apt-get update\nsudo apt-get install awstats<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Configure the configuration file:<\/strong><br \/>\nAWStats configuration files are usually stored in <code>\/etc\/awstats\/<\/code>. You must create a configuration file for your domain:<\/p>\n<pre><code class=\"language-bash\">sudo cp \/etc\/awstats\/awstats.conf \/etc\/awstats\/awstats.midominio.com.conf<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Edit the configuration file:<\/strong><br \/>\nOpen the configuration file with a text editor and modify the following lines according to your specific configuration:<\/p>\n<pre><code class=\"language-bash\">sudo nano \/etc\/awstats\/awstats.midominio.com.conf<\/code><\/pre>\n<ul>\n<li><code>LogFile<\/code>: Specify the path to the web server log file.<\/li>\n<li><code>SiteDomain<\/code>: Specify your website's domain.<\/li>\n<li><code>HostAliases<\/code>: Configure your domain aliases.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Update the statistics:<\/strong><br \/>\nRun the following command to update AWStats statistics:<\/p>\n<pre><code class=\"language-bash\">sudo \/usr\/lib\/cgi-bin\/awstats.pl -config=midominio.com -update<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Configure access to reports:<\/strong><br \/>\nTo access reports via a web browser, configure an alias in the Apache configuration file:<\/p>\n<pre><code class=\"language-bash\">sudo nano \/etc\/apache2\/conf-available\/awstats.conf<\/code><\/pre>\n<p>Add the following lines:<\/p>\n<pre><code class=\"language-apache\">Alias \/awstatsicons \"\/usr\/share\/awstats\/icon\/\"\nAlias \/awstatsclasses \"\/usr\/share\/java\/awstats\/\"\nScriptAlias \/awstats\/ \"\/usr\/lib\/cgi-bin\/\"<\/code><\/pre>\n<p>Enable the configuration and reload Apache:<\/p>\n<pre><code class=\"language-bash\">sudo a2enconf awstats\nsudo systemctl reload apache2<\/code><\/pre>\n<\/li>\n<\/ol>\n<p><strong>4. Report Customization<\/strong><\/p>\n<p>AWStats is highly customizable. You can adjust how data is presented in reports, adding or removing metrics according to your needs. For example, you can add tracking for robots and spiders, or filter out certain types of unwanted traffic.<\/p>\n<p><strong>5. Integration with <span class=\"glossary-tooltip glossary-term-786\"><span class=\"glossary-link\"><a href=\"https:\/\/serverspros.com\/en\/wiki\/virtualmin\/\" target=\"_blank\">Virtualmin<\/a><\/span><span class=\"hidden glossary-tooltip-content clearfix\"><span class=\"glossary-tooltip-text\">Virtualmin is an advanced web server administration tool that simplifies the management of multiple virtual hosts through an intuitive web interface. Developed as a module of Webmin, a popular web-based system administration system, Virtualmin is primarily used to manage web services and... <a href=\"https:\/\/serverspros.com\/en\/wiki\/virtualmin\/\">More<\/a><\/span><\/span><\/span><\/strong><\/p>\n<p>For Virtualmin users, AWStats integrates easily, providing statistics directly from the Virtualmin control panel. This simplifies the process of monitoring multiple domains and facilitates traffic statistics management.<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>AWStats is an invaluable tool for any web administrator or company that wants to gain detailed insight into their site traffic. Its ease of use, combined with its ability to provide detailed and customizable reports, makes it a popular choice. With proper installation and configuration, AWStats can be a powerful tool for optimizing site performance and improving marketing strategies.<\/p>","protected":false},"excerpt":{"rendered":"<p>AWStats is an open-source web data analysis tool that allows users to monitor and analyze their website traffic. Compatible with numerous servers, it offers detailed reports on visits, page views, and traffic sources, helping to optimize performance and digital strategy.<\/p>","protected":false},"author":1,"featured_media":879,"parent":0,"template":"","glossary-cat":[],"class_list":["post-799","glossary","type-glossary","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AWStats - ServersPros<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/serverspros.com\/en\/wiki\/awstats\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWStats - ServersPros\" \/>\n<meta property=\"og:description\" content=\"AWStats es una herramienta de an\u00e1lisis de datos web de c\u00f3digo abierto que permite a los usuarios monitorear y analizar el tr\u00e1fico de sus sitios web. Compatible con numerosos servidores, ofrece informes detallados sobre visitas, p\u00e1ginas vistas, y fuentes de tr\u00e1fico, ayudando a optimizar el rendimiento y la estrategia digital.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/serverspros.com\/en\/wiki\/awstats\/\" \/>\n<meta property=\"og:site_name\" content=\"ServersPros\" \/>\n<meta property=\"og:image\" content=\"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/serverspros.com\/wiki\/awstats\/\",\"url\":\"https:\/\/serverspros.com\/wiki\/awstats\/\",\"name\":\"AWStats - ServersPros\",\"isPartOf\":{\"@id\":\"https:\/\/serverspros.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/serverspros.com\/wiki\/awstats\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/serverspros.com\/wiki\/awstats\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg\",\"datePublished\":\"2024-06-27T10:16:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/serverspros.com\/wiki\/awstats\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/serverspros.com\/wiki\/awstats\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serverspros.com\/wiki\/awstats\/#primaryimage\",\"url\":\"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg\",\"contentUrl\":\"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg\",\"width\":800,\"height\":600,\"caption\":\"awstats-2-5353236\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/serverspros.com\/wiki\/awstats\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/serverspros.com\/de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Glossary\",\"item\":\"https:\/\/serverspros.com\/de\/wiki\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AWStats\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/serverspros.com\/#website\",\"url\":\"https:\/\/serverspros.com\/\",\"name\":\"ServersPros\",\"description\":\"Tutoriales de servidores y VirtualMin\",\"publisher\":{\"@id\":\"https:\/\/serverspros.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/serverspros.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/serverspros.com\/#organization\",\"name\":\"serverspros\",\"url\":\"https:\/\/serverspros.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serverspros.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/Systempeaker_logo_blanco-3193993.webp\",\"contentUrl\":\"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/Systempeaker_logo_blanco-3193993.webp\",\"width\":556,\"height\":114,\"caption\":\"serverspros\"},\"image\":{\"@id\":\"https:\/\/serverspros.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AWStats - ServersPros","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:\/\/serverspros.com\/en\/wiki\/awstats\/","og_locale":"en_US","og_type":"article","og_title":"AWStats - ServersPros","og_description":"AWStats es una herramienta de an\u00e1lisis de datos web de c\u00f3digo abierto que permite a los usuarios monitorear y analizar el tr\u00e1fico de sus sitios web. Compatible con numerosos servidores, ofrece informes detallados sobre visitas, p\u00e1ginas vistas, y fuentes de tr\u00e1fico, ayudando a optimizar el rendimiento y la estrategia digital.","og_url":"https:\/\/serverspros.com\/en\/wiki\/awstats\/","og_site_name":"ServersPros","og_image":[{"width":800,"height":600,"url":"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/serverspros.com\/wiki\/awstats\/","url":"https:\/\/serverspros.com\/wiki\/awstats\/","name":"AWStats - ServersPros","isPartOf":{"@id":"https:\/\/serverspros.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/serverspros.com\/wiki\/awstats\/#primaryimage"},"image":{"@id":"https:\/\/serverspros.com\/wiki\/awstats\/#primaryimage"},"thumbnailUrl":"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg","datePublished":"2024-06-27T10:16:58+00:00","breadcrumb":{"@id":"https:\/\/serverspros.com\/wiki\/awstats\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/serverspros.com\/wiki\/awstats\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serverspros.com\/wiki\/awstats\/#primaryimage","url":"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg","contentUrl":"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/awstats_799-6761591.jpg","width":800,"height":600,"caption":"awstats-2-5353236"},{"@type":"BreadcrumbList","@id":"https:\/\/serverspros.com\/wiki\/awstats\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/serverspros.com\/de\/"},{"@type":"ListItem","position":2,"name":"Glossary","item":"https:\/\/serverspros.com\/de\/wiki\/"},{"@type":"ListItem","position":3,"name":"AWStats"}]},{"@type":"WebSite","@id":"https:\/\/serverspros.com\/#website","url":"https:\/\/serverspros.com\/","name":"ServersPros","description":"Server and VirtualMin Tutorials","publisher":{"@id":"https:\/\/serverspros.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/serverspros.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/serverspros.com\/#organization","name":"serverspros","url":"https:\/\/serverspros.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serverspros.com\/#\/schema\/logo\/image\/","url":"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/Systempeaker_logo_blanco-3193993.webp","contentUrl":"https:\/\/serverspros.com\/wp-content\/uploads\/2024\/06\/Systempeaker_logo_blanco-3193993.webp","width":556,"height":114,"caption":"serverspros"},"image":{"@id":"https:\/\/serverspros.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/glossary\/799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/glossary\/799\/revisions"}],"predecessor-version":[{"id":880,"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/glossary\/799\/revisions\/880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/media\/879"}],"wp:attachment":[{"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/media?parent=799"}],"wp:term":[{"taxonomy":"glossary-cat","embeddable":true,"href":"https:\/\/serverspros.com\/en\/wp-json\/wp\/v2\/glossary-cat?post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}