Task: to forward multiple domains using 301 permanent redirect and capturing referrers. OK, here is the situation. I have about 100 domain names that need to be forwarded using the 301 permanent redirect. I do not want to create 100 new hosting accounts on my dedicated machine only to edit the .htaccess file for the 301. What I want to do is somehow create either one hosting account or one pair of name servers to carry out this task. Example; All 100 domain names are set to ns3.forward.com and ns4.forward.com - any requests to these name servers get set to one hosting account with a 301 in its .htaccess file and records referrers in it's awstats files. Can this be done?
You could setup a single hosting account with 100 domain pointers and then have them all point to the same directory which has a 301 .htaccess redirect to the main domain. from the main domain then, you could capture any traffic by using $_SERVER['http_referer'] I think it is, you'll have to look it up to be exact.