AWStats - How to Import Stats from a Previous Host
Importing historical data from AWStats can be useful for tracking performance across hosting changes. This guide will show you how to import stats from a previous host to your Bluehost account, ensuring your past site data is available for analysis./p>
- Steps to Import AWStats Data
- Renaming the Stats Text File
- Enabling AWStats for Addon Domains
- Summary
Steps to Import AWStats Data
To successfully import AWStats data, follow these instructions:
- Obtain the
.conffile from your previous hosting provider. - Transfer any
.txtfiles containing past stats from the previous host as these files will store historical data.
Renaming the Stats Text File
To ensure AWStats recognizes imported stats, rename each stats text file from the previous host to this format:
awstatsmmyyyy.addon.maindomain.com.txt
Replace mmyyyy with the appropriate month and year, and adjust addon.maindomain.com with your domain details.
Enabling AWStats for Addon Domains
- Enable AWStats for any addon domains that require statistics tracking.
- AWStats will create a configuration file named
awstats.addon.maindomain.com.conf. - Upload the renamed stats text files to the
tmp/awstatsdirectory in your Bluehost account.
Note : Both the .txt and .conf files must be located in the tmp/awstats folder for the statistics to display properly.
Summary
Transferring AWStats from a previous host to Bluehost involves gathering your .conf and .txt files, renaming them for compatibility, and placing them in the correct directory. This process will help maintain continuity in your website’s data analysis after a hosting migration.