Howie Howie - 10 months ago 65
Apache Configuration Question

Log redirections from alias domain (cPanel shared hosting)

I want to measure how many requests goes through (and its subdomains) to see whether the purchase of was justified.

I've bought two domains: and In cPanel I've set as the alias domain to the In .htaccess I've set a permanent redirection.

In cPanel I have the following modules enabled for both domains: Visitors, Raw Access, Webalizer and Awstats. I also have shell access.

I've checked them all but it seems it only logs the requests, but not the for some reason. I can't even select it from the drop-down menu.

Answer Source

Well you should remove from your cPanel account and add it as an addon domain. Then do the required redirection and you will be able to check the access logs for both main domain and alias domain. The way you have added aliasdomain as an alias, it just points to the main domain and cPanel is not seeing it as another domain so you won't be able to see any stats collected by awstats or any other similar tool.

Remove the domain from cPanel, re-add it as an addon domain and you should be good to go.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download