Go Back   HostGator Peer Support Forums > General Discussion > Webhosting

Notices

Reply
 
Thread Tools
  #1  
Old 09-22-2004, 11:46 AM
roniabirk roniabirk is offline
Hatchling Croc
 
Join Date: Feb 2004
Posts: 45
Question Public Stats?

I was wondering if it's possible to have a link to my site's statistics somehow so that visitors can see how much traffic the site gets. I would rather just use one of the options we have under control panel, instead of a third-party's tool.

Has anyone set this up with a script and the logs or something like it?

Thanks.
Dana
Reply With Quote
  #2  
Old 09-22-2004, 12:10 PM
tondelo tondelo is offline
Baby Croc
 
Join Date: Apr 2004
Posts: 66
Default Re: Public Stats?

Dana,

How about lust setting up a link that goes to something like AWSTATS? They would still have to have a login account but they won't actually be going through Cpanel?

Something like

http://www.yourdomain.com:2082/awsta...yourdomain.com

Tony
Reply With Quote
  #3  
Old 09-22-2004, 03:02 PM
Thomas's Avatar
Thomas Thomas is offline
Junior Croc
 
Join Date: Jun 2004
Posts: 195
Lightbulb Re: Public Stats?

Hey,
I did this once for a client who wanted his stats public and didn't want any logging in or passwords of any kind-

I made a subdirectory on his site called STATS.
I installed a program on my own machine called PyrobatchFTP.
I set the program to automaically FTP into his real Webalizer folder each day and copy/overwrite everything NEW into the STATS folder - Including the index.html file.
Done!

It may seem drastic but it was a clean, permanent, and secure solution.
Reply With Quote
  #4  
Old 09-22-2004, 06:03 PM
roniabirk roniabirk is offline
Hatchling Croc
 
Join Date: Feb 2004
Posts: 45
Default Re: Public Stats?

Thanks for the tips!
Reply With Quote
  #5  
Old 09-22-2004, 08:55 PM
Buckshot's Avatar
Buckshot Buckshot is offline
Junior Croc
 
Join Date: Oct 2003
Posts: 127
Default Re: Public Stats?

I made a subdomain as stats.yourdomain.com for my client. He is able to view AWSTATS and not anything else.
Reply With Quote
  #6  
Old 09-23-2004, 12:12 PM
sonic sonic is offline
Baby Croc
 
Join Date: Nov 2003
Posts: 96
Default Re: Public Stats?

Quote:
Originally Posted by Buckshot
I made a subdomain as stats.yourdomain.com for my client. He is able to view AWSTATS and not anything else.
Buckshot, do you mean view awstats without giving cpanel's username/password?
Can you please elaborate?

Thanks,
sonic
Reply With Quote
  #7  
Old 03-18-2005, 05:57 PM
mw5cents mw5cents is offline
Hatchling Croc
 
Join Date: Oct 2004
Posts: 15
Exclamation Re: Public Stats?

Yes, I know I am bringing this post back from the dead!

But I am very interested in making this happen. So if sonic or anyone else has figured this out, please post! We can not ask Buckshot as he is no longer a HG customer.

I googled this and came up with a solution, but not as clean as stats.yourdomain.com It involved setting up AWSTATS in your cgi-bin but you still needed the entire URL (awstats.pl?config=yourdomain.com&lang=en)

I'm looking for a simple way for clients to check their stats & not have to login.
Reply With Quote
  #8  
Old 03-18-2005, 07:00 PM
mw5cents mw5cents is offline
Hatchling Croc
 
Join Date: Oct 2004
Posts: 15
Talking Re: Public Stats?

Ok well I was bound & determined to figure this one out...and I did...so I thought I would share with all others.

I found a .zip file another hosting co. created. Although you do have to log in, it is totally seperate from the cpanel login. I suppose some security is necessary.

Here's what I did.
1) Create "stats" sub-domain
2) Edit config.php with your info
2) Upload all to stats directory
3) There you go!

It could also be done with just a folder vs sub-domain. ex. yourdomain.com/stats
The only difference the stats images would need to go into your public_html/images folder instead of public_html/stats/images like it does with a sub-domain.

I hope this all makes sence, if you can't figure it out...post & I'll help as much as I can.

Ok well I was going to attach to this post but, attachment exceeds 39K limit! 39K?!? HG we may want to think about increasing this limit! Send me a PM or email & I'll get it to those interested.
Reply With Quote
  #9  
Old 02-13-2006, 11:14 AM
jeangaud jeangaud is offline
Hatchling Croc
 
Join Date: Feb 2006
Posts: 3
Default Re: Public Stats?

Has anyone got this working?

I would like to show public stats for one of my subdomains.

How can I do this?

Thanks

Jean
Reply With Quote
  #10  
Old 02-13-2006, 06:34 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: Public Stats?

http://www.josheli.com/vox/view_source.php?awstats.php
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #11  
Old 03-27-2006, 04:19 AM
joomlasolutions_JB joomlasolutions_JB is offline
Hatchling Croc
 
Join Date: Feb 2006
Location: Switzerland
Posts: 10
Default Re: Public Stats?

thank you! works a treat
Reply With Quote
  #12  
Old 12-04-2006, 10:26 AM
Pazeh Pazeh is offline
King Croc
 
Join Date: Jan 2005
Posts: 1,327
Default Re: Public Stats?

thnx Serra,

that worked like a charm !!
Reply With Quote
  #13  
Old 12-08-2006, 01:36 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: Public Stats?

If you haven't noticed, there are a ton of scripts at:

http://www.josheli.com/vox/
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #14  
Old 06-30-2009, 12:56 PM
gamera gamera is offline
Hatchling Croc
 
Join Date: Sep 2005
Posts: 2
Default Re: Public Stats?

Using the script on "http://www.josheli.com/vox/view_source.php?awstats.php", I found that if you're using a "/" character in your password it will through an error. If you're having problems try changing your cpanel password using alphanumeric characters. Very useful script though.
Reply With Quote
  #15  
Old 07-11-2009, 08:29 PM
GatorJSmith
HostGator Guest
 
Posts: n/a
Default Re: Public Stats?

In case you didn't notice, gamera, this thread is a bit old (2006)

For those currently interested in public stats, however, you can open a ticket requesting it by e-mailing support@hostgator.com.

We can set a symlink to your stats file allowing anyone to see statistics without a login by going to http://www.yourdomain.com/stats
Reply With Quote
  #16  
Old 07-13-2009, 07:47 PM
TonyB's Avatar
TonyB TonyB is offline
Swamp Croc
 
Join Date: Oct 2007
Location: DC
Posts: 260
Default Re: Public Stats?

Last I heard cpanel couldn't do this without a lot of third party programming. Glad to hear it now only requires a simple symlink. I've emailed support.
Reply With Quote
  #17  
Old 07-13-2009, 09:59 PM
RBX0122 RBX0122 is offline
Junior Croc
 
Join Date: May 2006
Posts: 105
Default Re: Public Stats?

How about using Piwik. You can export the sections of your stats that you want people customers to see. The software is open source and simple to install http://piwik.org/

Heres a link to a demo http://piwik.org/demo/index.php
Reply With Quote
  #18  
Old 07-14-2009, 03:36 AM
TonyB's Avatar
TonyB TonyB is offline
Swamp Croc
 
Join Date: Oct 2007
Location: DC
Posts: 260
Default Re: Public Stats?

Okay, it only took tech support a few minutes to set me up.

I see the output is from Webalizer. I've heard Webalizer can be resource intensive, especially on shared servers?

Not that I was planning on giving my stats link to everyone (just staff). But is it safe for it to be out in the open like this?
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable ANALOG STATS in Cpanel? Buckshot Shared Hosting Support 0 09-18-2004 09:59 PM
webalizer country stats oblomov Webhosting 1 04-29-2004 12:42 PM
How to use public / shared SSL rpgstore Webhosting 1 12-28-2003 10:35 PM
Web Stats access sonic Shared Hosting Support 3 11-25-2003 12:25 PM
Server Stats mousewonders Suggestions 5 06-16-2003 08:52 PM

All times are GMT -5. The time now is 02:10 AM.