Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

IIS redirect non www to www domain, no awstats updates

Reply to Post Add a New Topic
UserPost

6:44 am
October 12, 2009


Martijn

Guest

Hello everyone,

I have been seaching the web for my problem, but no succes.

I hope someone here can help.

Awstats worked fine until i made a IIS 301 redirect for the non www domainname to www domain name.

explenation IIS 301 Redirect

http://www.mcanerin.com/EN/art…..ct-IIS.asp

Now the awstats aren't updating.

Lets assume my domain is domain.com that i'am redirecting to www.domain.com

Under IIS manager i have added the old website

domain.com (no www) with a redirection to www.domainname.comlSQ

i made a newwebsite http://www.domain.com with the nessary webfolders and files.

I need this because of seo issues, google sees domain.com and www.domain.com as different sites.

I have added in the following tot the awstats.domain.com.config file

SiteDomain=”domain.com”

HostAliases=”localhost 127.0.0.1 www.domain.com domain.com”

Awstats isn't updating the files no more but ftp stats work fine.

Do i have to rename the config file or something ?

p.s i'am using plesk panel, domain.com is the configured domain.

Thanks for any suggestions. Laugh

9:02 am
October 12, 2009


Jean-Luc

Admin

posts 1125

Hi,

In typical IIS systems, AWStats is controlled by the Task Scheduler that runs it once a day. I would check that the AWStats update command is still present in the Task Scheduler. Also check that the update command is using the right AWStats config file. By the way, the config file must be called …something.conf  and not …something.config . The LogFile directive in the AWStats config file must point to the directory that contains the web server log files. It is possible that this directory was changed when you made the changes for the redirection.

I hope this helps.

Reply to Post

Reply to Topic:
IIS redirect non www to www domain, no awstats updates

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
12 + 10
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
6 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)