Current time: 05-17-2024, 01:14 PM Hello There, Guest! (LoginRegister)


Post Reply 
How to have stats accessible for a subdomain - subdomain.domain.tld/stats instead?
Author Message
gilbert Offline
Junior Member
*

Posts: 45
Joined: May 2007
Reputation: 0
Post: #9
RE: How to have stats accessible for a subdomain - subdomain.domain.tld/stats instead?
(04-28-2009 11:44 PM)joximu Wrote:  First: you also don't have mail accounts on @domain.tld - do you?

I assume ispCP will refuse a new customer sub.domain.tld if domain.tld is already installed.

But you can makle a backup of the whole folder /var/www/virtual/domain.tld and maybe the databases... - then delete the domain.tld and install a new one.


The other solution (apache) may be easier... (but not as elegant and clean...).

I think the file is /etc/apache2/ispcp/sub.domain.tld.conf ...

/J

So I created the file
/etc/apache2/ispcp/sub.domain.tld.conf

but now when I go to http://sub.domain.tld/stats/

I get

Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.

Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
04-29-2009 12:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to have stats accessible for a subdomain - subdomain.domain.tld/stats instead? - gilbert - 04-29-2009 12:09 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)