I have a client who has over 250 domains in their portfolio. They now want to take 60 of them and redirect to the main IP address. The site is hosted on a Windows 2K server with IIS 5. I'm informed that I have four options;
C name pointing to A record through DNS
Unique IP's for all 60 (expensive)
Something to do with the Host Header
Custom 404 (per NFFC)
I'm looking at Option I and wanted to get some input from the gurus here at WebmasterWorld.
No, these domains will not be submitted to the SE's. These are domains that people are typing into their browser address windows and we'd like them to resolve to the main IP.
Thanks in advance for your input!
P.S. Am I asking for trouble setting up these redirects? Will the SE's penalize?
P.S.S. For you .asp gurus out there, any idea how this one works?
if Request.ServerVariables("HTTP_HOST") = "www.domainname.com" then
if Request.ServerVariables("HTTP_HOST") = "domainname.com" then
All requests for domainname.com or www.domainname.com were redirected to the content-page.htm which then appeared as a index.htm to the spiders and users. I tested submitting a few domains to AV (back then) and sure enough, it worked like a charm.
This setup was done by a previous host who is no longer in business. There were over 40 redirects in that file, I just pasted a snippet for your review. We haven't been able to figure out the entire set up. There was something done on the server side and I'm going to guess that it was through the Host Header option. Any suggestions?
This file also resides in the root directory:
<!-- This example displays the content of several ServerVariables. -->
ALL_HTTP server variable =
<%= Request.ServerVariables("ALL_HTTP") %>
HTTP_HOST server variable =
<%= Request.ServerVariables("HTTP_HOST") %>
(edited by: pageoneresults at 9:02 pm (utc) on Jan. 14, 2002)