• DevOps
    Case Study

    How we built a resilient multi-account, multi-cloud solution for a Health Tech service provider!

    READ CASESTUDY
    icon

    24/7 DevOps as a Service

    Round-the-clock DevOps for uninterrupted efficiency.

    icon

    Infrastructure as a Code

    Crafting infrastructure with ingenious code.

    icon

    CI/CD Pipeline

    Automated CI/CD pipeline for seamless deployments.

    icon

    DevSecOps

    Integrated security in continuous DevOps practices.

    icon

    Hire DevOps Engineers

    Level up your team with DevOps visionaries.

    icon

    Consulting Services

    Navigate success with expert DevOps consulting.

  • TechOps
    Case Study

    How we built a scalable Odoo solution for a Travel Tech service provider!

    READ CASESTUDY

    WEB HOSTING SUPPORT

    icon

    HelpDesk Support

    Highly skilled 24/7 HelpDesk Support

    icon

    Product Support

    Boost your product support with our expertise.

    MANAGED SERVICES

    icon

    Server Management

    Don’t let server issues slow you down. Let us manage them for you.

    icon

    Server Monitoring

    Safeguard your server health with our comprehensive monitoring solutions.

    STAFF AUGMENTATION

    icon

    Hire an Admin

    Transform your business operations with our expert administrative support.

    icon

    Hire a Team

    Augment your workforce with highly skilled professionals from our diverse talent pool.

  • CloudOps
    Case Study

    How we helped a Private Deemed University in India, save US $3500/m on hosting charges!

    READ CASESTUDY
    icon

    AWS Well Architected Review

    Round-the-clock for uninterrupted efficiency

    icon

    Optimize

    Efficient CloudOps mastery for seamless cloud management

    icon

    Manage

    Automated CI/CD pipeline for seamless deployments

    icon

    Migrate

    Upgrade the journey, Migrate & Modernize seamlessly

    icon

    Modernize

    Simplify compliance complexities with our dedicated services

    icon

    FinOps as a Service

    FinOps as a Service

  • SecOps
    Case Study

    How we built a scalable Odoo solution for TravelTech service provider!

    READ CASESTUDY
    icon

    VAPT

    Vulnerability Assessment and Penetration Testing

    icon

    Source Code Review

    Ensuring source code security ans safe practices to reduce risks

    icon

    Security Consultation

    On demand services for improving server security

    icon

    System Hardening

    Reduced vulnerability and proactive protection

    icon

    Managed SoC

    Monitors and maintains system security. Quick response on incidents.

    icon

    Compliance as a Service

    Regulatory compliance, reduced risk

  • Insights
    Case Study

    How we helped a Private Deemed University in India, save US $3,500/m on hosting charges!

    READ CASESTUDY
    icon

    Blog

    Explore our latest articles and insights

    icon

    Case Studies

    Read about our client success stories

    icon

    Flipbook

    Explore our latest Flipbook

    icon

    Events

    Join us at upcoming events and conferences

    icon

    Webinars

    Watch our educational webinar series

  • Our Story
  • Contact Us

Interested to collaborate?

Get in touch with us!

Ready to elevate your business with certified cloud expertise? Contact us today to learn how our team can help you leverage cloud technology to drive growth, streamline operations, and enhance security.

  • AWSAWS
  • Azure CloudAzure Cloud
  • Google CloudGoogle Cloud
  • Akamai CloudAkamai Cloud
  • OVHOVH
  • Digital OceanDigital Ocean
  • HetznerHetzner
  • Kubernetes Consultancy Services
  • K8s & Cloud native Solutions
  • 24/7 Infrastructure Monitoring
  • DevOps as a Service
  • Cloud CI/CD Solutions
  • White Labeled MSP Support
  • Our story
  • Life@SupportSages
  • Insights
  • Careers
  • Events
  • Contact Us

Connect with us!


LinkedInFacebookXInstagramYouTube

aws partneraws advanced partner
SupportSages

Copyright © 2008 – 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy
AWStats unique visitors not updating after installing Engintron

AWStats unique visitors not updating after installing Engintron

Varick Downie

  • 5 min read
AWStats unique visitors not updating after installing Engintron

Generating audio, please wait...

Why Engintron?

We all know that cPanel is the leading hosting control panel worldwide. And definitely there is no need to introduce cPanel. But as they say everything comes with a price, cPanel uses the Apache web server to serve websites by default. Even though Apache is a sensation with low traffic servers, it does not gel well with heavy web traffic and also it feeds on CPU/RAM way too much.

Now you guys might be wondering how to find a permanent fix for your high traffic server. Are you? Some of you might even think that we should quit all Favourite cPanel and move to other control panels that support other web servers. Well think again and ask the experts!!!!! Yes here is what the experts have to say!!!! By deploying Nginx, another popular web server software as Apache front end. Nginx acts as a web traffic proxy, directly serving all static assets like CSS, JS, images etc by default, instead of Apache. In effect this results in significant drop of CPU/RAM resources consumed by Apache, which leaves your server with more available resources for other tasks.

How can I do this? There are several options to do this. But yes here we are talking about engintron. Installing engintron in cPanel server let you sets up Nginx inside your cPanel which directly serves all static content like CSS, JS, images etc. instead of your actual web server, thus lowering the load and RAM usage. In short if you have performance issue with your cPanel server engintron is a good solution. And the good news is that once you set up engintron is there no need for further maintenance, you are set to go just like that.

Issue with AWStats

Recently after installing engintron many clients came back to us. Their complaint was that their AWStats is not responding, unique visitors status on Awstats not updating etc. This made us curious and we decided to investigate this further. And like always sages found the fix. After our investigation we came to the conclusion that this is exactly not an issue. What if we say your AWStats is actually updating unique visitors!!!! Now you may me wondering why then AWStats unique visitors number is not increasing??? After all yours is a heavy traffic server.

Its time for some troubleshooting!!! Now lets check from the server back end that which all IP’s are visiting our site. The best place to see this is the domain log. You can go the the following location to view the domain log also known as domlogs. And check the domlog of the desired domain here.

 

e7

Here you can find the result as following.

 

Now we can compare the domlog results with a server that have no engintron installed.

 

We found that our server IP is masking our visitors IP. Kindly note that due to security issues, the IP and the domain name in the actual issue are blurred in the above image.

The reason for the visitor IP masking by the server is due to the configuration of Nginx as apache front end. Nginx acts as a web traffic proxy and hence the requests will be originated from the Nginx server with the server IP and creates an internal loop instead of separate distinct connections. The net result of this is our server will be our new visitor by masking the original visiting IP.

What might be a solution for this? You should have a clear picture about the number of unique visitors to be in a confident position with regard to your sales activities and SEO ranking.  Basically awstats uses domlog information as the raw data for processing the stats. So if you wish to make the tweak, it should go with the raw data. Domlog results are produced in way that is determined by the Apache log format. Hence changing the log format will help us to get the desired results. We can change the Apache log format in httpd.conf file.

e1

 

From the below picture you can find the Apache log format.

e2

 

Remove %h in the log format. This is the IP address of the client (remote host) which made the request to the server. If a proxy server exists between the user and the server, this address will be the address of the proxy, rather than the originating machine.

In our case our own IP is the proxy. So after %h the proxy will be removed and AWStats will be fetching the visitors IP, thus the unique visitors in AWStats will be updated.

AWStats may take time to update and reflect the changes. In order to make make this process fast, AWStats statistics can also be updated from a browser, providing real-time statistics, by clicking the “Update now” link that appears.

Note: Make sure to save httpd.conf file after editing and then restart both Apache and Nginx. After this you will have to check Awstat configuration.

Warning!!

To enable this link, the configuration file parameter AllowToUpdateStatsFromBrowser must be set to 1 (The link is not enabled by default).

Get 24/7 expert server management

  • Linux

Posts by Varick Downie

Varick Downie