Hi,
I was hosting a web site on a shared environment before (Windows
2000/IIS 5)Since the domain name was long, I also had similar domain
names pointed to the same IP. For example, my original domain was
abcd.com, and I also have abcd2.com and abcd3.com pointed
to the same IP. Then I was handling the rest in global.asa file.
If the incoming domain was other than abcd.com, then it was
redirecting to abcd.com (I want them to see the correct one in the
address field) Since this redirection was recorded by IIS, I was able
to keep track of number of people who typed the other domain names, by
looking at the referrer field in the logs.
Now I have a newer server (windows 2003/IIS 6). I have the same setup
in terms of domains. As for the log format, I have make sure referer
field is checked. Actually in the reports I can see the referers now,
but not the ones who redirects. For some reason none of these
redirections are recorded. If I type abcd2.com in the browser, it will
go to the website and in there it will be redirected to the correct
domain which is abcd.com (same IP, same web site, just the domain name is different).
However, the domain abcd2.com is not recorded as referer in the
logs. Is there any setting that I can change this behaviour?
I use response.redirect in the global.asa file. I don't use any host header since they are all pointing to a dedicated IP.
Thank you very much,
~D
I was hosting a web site on a shared environment before (Windows
2000/IIS 5)Since the domain name was long, I also had similar domain
names pointed to the same IP. For example, my original domain was
abcd.com, and I also have abcd2.com and abcd3.com pointed
to the same IP. Then I was handling the rest in global.asa file.
If the incoming domain was other than abcd.com, then it was
redirecting to abcd.com (I want them to see the correct one in the
address field) Since this redirection was recorded by IIS, I was able
to keep track of number of people who typed the other domain names, by
looking at the referrer field in the logs.
Now I have a newer server (windows 2003/IIS 6). I have the same setup
in terms of domains. As for the log format, I have make sure referer
field is checked. Actually in the reports I can see the referers now,
but not the ones who redirects. For some reason none of these
redirections are recorded. If I type abcd2.com in the browser, it will
go to the website and in there it will be redirected to the correct
domain which is abcd.com (same IP, same web site, just the domain name is different).
However, the domain abcd2.com is not recorded as referer in the
logs. Is there any setting that I can change this behaviour?
I use response.redirect in the global.asa file. I don't use any host header since they are all pointing to a dedicated IP.
Thank you very much,
~D