And many shall be one
June 18, 2006 12:10 AM
Subscribe
How do you uniquely route traffic from a large number of domains to a single server?
I realise that I can redirect at the DNS level, and curently forward traffic for a couple of domains that I own to a single domain. No problem there (you-suck.eu -> you-suck.com, for example).
But a friend is considering undertaking a project which will require a large number of domains, as many as four hundred, be redirected to a single server (no problem so far), but that server present content that is specific to that unique domain.
Can it be done? I told her about forwarding, but when we get to the part about how the server knows what domain was forwarded is where it gets fuzzy for me.
If this is possible can "any old" ISP provide this service? What does she ask for?
posted by Mutant to computers & internet (17 comments total)
1 user marked this as a favorite
Apache and IIS will allow you to set up different virtual servers based on the Host header, or you can use server-side scripts (ie php pages) to decide which content to send depending on the value set in the Host header. This is probably the way to go in your case.
posted by Good Brain at 12:17 AM on June 18, 2006