I'm not pretty sure if this question is programming related, so I'm sorry if it's not.
The situation is like this. I have a domain (www.domain1.com for example). I would like to redirect all visitors that goes to www.domain1.com to my other domain(www.maindomain.com). www.domain1.com doesn't have any contents or page, so simply I can do dns redirect or whatever just to redirect the visitors to my domain. My question, is there a away that I can count the visitors through analytics or some sort that goes to www.domain1.com?
Your help is greatly appreciated.
Best regards,