Click here to Skip to main content
12,762,900 members (36,591 online)
Click here to Skip to main content
Add your own
alternative version


44 bookmarked
Posted 31 Oct 2000

Multiple domains on a single IP

, 3 Apr 2001
Rate this:
Please Sign up or sign in to vote.
How to set multiple domains one a single IP-address with ASP.
<!-- Add the rest of your HTML here -->

Multiple domains on a single IP address

Sorry for this very short article. I didn't have much time to think of a complete description so I guess the ASP code has to speak for itself. :)

host = lcase(request.servervariables("HTTP_HOST"))
   CASE ""
       response.redirect ""
   CASE ""
       response.redirect ""
       response.redirect ""

I use it own my own web server, hosting the domains and Feel free to take a visit. ;)


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Alex Marbus
Netherlands Netherlands
No Biography provided

You may also be interested in...


Comments and Discussions

Generalip address tracking Pin
Shyam P.S. Shekhawat14-Mar-01 18:25
memberShyam P.S. Shekhawat14-Mar-01 18:25 
Generalloop Pin
Anonymous12-Mar-01 9:06
memberAnonymous12-Mar-01 9:06 
Generalhrmmm Pin
Anonymous3-Nov-00 11:22
memberAnonymous3-Nov-00 11:22 
GeneralRe: hrmmm Pin
AlexMarbus3-Nov-00 13:49
memberAlexMarbus3-Nov-00 13:49 
GeneralRe: hrmmm Pin
David Cunningham4-Nov-00 6:02
memberDavid Cunningham4-Nov-00 6:02 
GeneralRe: hrmmm Pin
AlexMarbus4-Nov-00 6:08
memberAlexMarbus4-Nov-00 6:08 
GeneralRe: hrmmm Pin
David Cunningham4-Nov-00 7:26
memberDavid Cunningham4-Nov-00 7:26 
GeneralRe: hrmmm Pin
AlexMarbus4-Nov-00 13:16
memberAlexMarbus4-Nov-00 13:16 
GeneralRe: hrmmm Pin
Anonymous8-Feb-01 10:33
memberAnonymous8-Feb-01 10:33 
GeneralRe: hrmmm Pin
Barfly4-Mar-01 21:10
memberBarfly4-Mar-01 21:10 
GeneralRe: hrmmm Pin
AlexMarbus5-Mar-01 6:51
memberAlexMarbus5-Mar-01 6:51 
GeneralThis feature is built into IIS already Pin
David Cunningham2-Nov-00 7:40
sussDavid Cunningham2-Nov-00 7:40 
GeneralWarning if you plan to use ssl Pin
Anonymous6-Nov-00 23:48
memberAnonymous6-Nov-00 23:48 
GeneralRe: Warning if you plan to use ssl Pin
David Cunningham7-Nov-00 3:33
memberDavid Cunningham7-Nov-00 3:33 
GeneralRe: Warning if you plan to use ssl Pin
Hadz4-Mar-01 7:26
memberHadz4-Mar-01 7:26 
GeneralRe: Warning if you plan to use ssl Pin
thany.org8-Feb-08 0:29
memberthany.org8-Feb-08 0:29 
GeneralThis feature is also in Apache Pin
Tony Truong6-Jan-01 23:53
memberTony Truong6-Jan-01 23:53 
GeneralRe: This feature is also in Apache Pin
Anonymous14-Jun-01 10:17
memberAnonymous14-Jun-01 10:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170217.1 | Last Updated 4 Apr 2001
Article Copyright 2000 by Alex Marbus
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid