Koozali.org: home of the SME Server

Awstats not showing 1 domain stats

Offline ReetP

  • *
  • 3,805
  • +5/-0
Re: Awstats not showing 1 domain stats
« Reply #15 on: May 15, 2024, 10:15:58 PM »
In essence you already had a host called:

Code: [Select]
www.securitywarehouse.co.uk
Because you have this domain set:

Code: [Select]
securitywarehouse.co.uk=domain
But you have (probably mistakenly) added

Code: [Select]
www.securitywarehouse.co.uk=domain
(Have you actually registered that as a DOMAIN with a domain registrar?)

And if you look in your hosts you will probably find:

Code: [Select]
www.securitywarehouse.co.uk=host
www.www.securitywarehouse.co.uk=host

Which I'm pretty sure was not your intention.

The short answer here is unless you can provide a logical reason - and despite us asking you haven't told us - get rid of:

Code: [Select]
www.securitywarehouse.co.uk=domain
and any related hosts eg

Code: [Select]
ftp.www.securitywarehouse.co.uk
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • *
  • 788
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Awstats not showing 1 domain stats
« Reply #16 on: May 17, 2024, 01:50:33 AM »
Ah

ok result of db hosts show |grep www
Code: [Select]
[root@cov1-2 files]# db hosts show |grep www
cov1-2.www.securitywarehouse.co.uk=host
ftp.www.securitywarehouse.co.uk=host
mail.www.securitywarehouse.co.uk=host
proxy.www.securitywarehouse.co.uk=host
www.securitywarehouse.co.uk=host
www.secware.co.uk=host
www.store-test.securitywarehouse.co.uk=host
www.store.securitywarehouse.co.uk=host
www.support.securitywarehouse.co.uk=host
www.sw-zen2.securitywarehouse.co.uk=host
www.test.securitywarehouse.co.uk=host
www.webstats.securitywarehouse.co.uk=host

Quote
why in the world would you need to have the www accounted separetly when it points to the exact same content ?
Id say lack of knowledge Sorry
This website is using www. so i wanted to keep that

I totally get i have got something wrong but i either dont get what your asking or can work out what you mean.
Thats totally on me i do get that.

Quote
Code: [Select]
www.securitywarehouse.co.uk=domain

(Have you actually registered that as a DOMAIN with a domain registrar?)
its a subdomain and has always been setup again maybe incorrectly

Quote
Which I'm pretty sure was not your intention.
your right ;)




Offline Jean-Philippe Pialasse

  • *
  • 2,818
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Awstats not showing 1 domain stats
« Reply #17 on: May 17, 2024, 06:22:12 AM »
so as explained in previous message :

www.securitywarehouse.co.uk=host

makes the www hits accounted in securitywarehouse.co.uk=domain

www.securitywarehouse.co.uk=domain <- acts as duplicate


unless you have specific needs, eg want to get ride of www and trying to account how many hits comes from there, you can just delete the domains entry for the www which acts as duplicate. 


Offline jameswilson

  • *
  • 788
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Awstats not showing 1 domain stats
« Reply #18 on: May 17, 2024, 01:23:16 PM »
Quote
unless you have specific needs, eg want to get ride of www and trying to account how many hits comes from there, you can just delete the domains entry for the www which acts as duplicate.

so if i delete the www. domain from the domain lists in control panel - domains, the server will know to send all traffic to the non www. ibay?

Thanks

Offline Jean-Philippe Pialasse

  • *
  • 2,818
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Awstats not showing 1 domain stats
« Reply #19 on: May 17, 2024, 10:34:23 PM »
so if i delete the www. domain from the domain lists in control panel - domains, the server will know to send all traffic to the non www. ibay?

Thanks

exactly because of the www host

Offline jameswilson

  • *
  • 788
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Awstats not showing 1 domain stats
« Reply #20 on: May 19, 2024, 02:43:37 PM »
Ok Wonderful Thanks