|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Setting up 1 Server with Multiple Domains
Im trying to set up a web server, ive got a domain name, installed IIS on my computer, and on setup my domain to forward to my ip address using freeparking.com. all this is working fine.
Now i want another domain to look at the same ip address / webserver. how do i set this up in IIS?? I think im trying to send a new domain to my ipaddress then to a non-default virtual directory in IIS?? Is it something to do with HTTP Headers? Basically i want www.mywebsite.co.uk - to point to my.ip\wwwroot\mywebsite and www.yourwebsite.co.uk-to point to my.ip\wwwroot\yourwebsite hope this makes sense !!! any advice welcome !! Im using Windows Xp Pro SP2 IIS v5.1 |
|
#2
|
|||
|
|||
|
You can fake it with some asp in your website root default.asp page. Look for the desired domain in one of the Request.ServerVariables() available to asp and then redirect to the desired subweb based on the incoming request. My ISP (www.crystaltech.com) has some details in their knowledgebase.
Or upgrade your windows to a server version where you can use host headers and set up multiple websites on one IIS server.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Setting up 1 Server with Multiple Domains |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|