(04-29-2009 12:09 AM)gilbert Wrote: (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).
Ooops I forgot to answer your first question, no there are no mail accounts.