I’ll try to explain what I need.
I have one domain that support * as subdomains. So, this site, based on subscription will show users links like this:
Actually user1 and user2 is not an subdomain created on domain.com. Because domain.com can take any subdomain I use requested link, check the database for user1 and if exists leave it as it is to browse the site. If there is no such user I force a redirect to www.domain.com
Now the problem comes with tracking. I need to show each user stats for their site.
user1 need to see the trafic on user1.domain.com.
Waiting all the help I can get.