View Single Post
  #19 (permalink)  
Old 03-01-2007,
AMPC's Avatar
AMPC AMPC is offline
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default Sitedomain HostAliases Awstats

Quote:
Originally Posted by Actual View Post
Jim,

I was in this file at my web host and saw

# Default: ""
#
SiteDomain="actualcures.com"

# Put here all other possible domain names, addresses or virtual host aliases
# someone can use to access your site. Try to keep only the minimum number

Should I change my site name to www.actualcures.com in this file?


Roger
Yes - make that change.

Also, look for HostAliases=, do you see that? - this can be an area for misread stats for many people! Can also be a gem if you notice it when buying a site Let me explain.

Awstats will record all traffic to whatever you set in this variable (HostAliases=). So, if HostAliases= is set to actualcures.com but Roger promotes www.actualcures.com, awstats will only show visitors for actualcures.com

Say that www.actualcures.com is receiving 1000 visitors a day and actualcures.com receives 100 visitors a day. Your awstats will only show that your site gets 100 visitors per day if the HostAliases= "actualcures.com"
So.. you decide to sell your site. You don't have many visitors, so you're not going to get that much for it, but the Smart buyer will notice that you are not recording true traffic and end up buying your site for a song!

But, that would not happen to you Roger, because:
1) You have your htaccess redirecting traffic from actualcures.com to www.actualcures.com
2) In your html code, you now use Absolute URL's with www.actualcures.com

See how those earlier items, such as www and no-www, redirects and absolute vs. relative urls come into play

Here is what you should use for HostAliases:
HostAliases="www.actualcures.com actualcures.com"

Regards,

Jim.
Reply With Quote