Does anyone know if it is possible to host 2 internet sites, both with a different domain name, under the same server with 'windows 2000 professional' OS ?
I've had trouble with this myself, but I ended up using an asp script to re-direct the user, depending on the domain they typed in. Here's an example...
Contents of index.asp(default page)
======================
<%
routage = Request.Servervariables("SERVER_NAME"
Select Case routage
//Domain #1
Case "micro.sytes.net"
Response.Redirect ("micro.htm"
//Domain #2
Case "pctech.no-ip.com"
Response.Redirect ("home.htm"
Case Else
Response.Redirect ("index.asp"
End Select
%>
You can add as many domains as you want. Just modify that to suit your needs
No there is an easy way with iis.
This is called virtual server.
Open iis set up an site in standart way.
Just when you set this up give domain name to site header name.
If you didnt give before from the properties of the site select web site and then select advanced and from there give header name i mean domain name.
With same ip and from same server you can do this and this is called virtual server..
i am sorry.
i just recognized that os was win2kpro.
i think you v-cannot do this in pro because you cannot setup dns server.
So how will you give header names?According to what?
You have to use a external dns and i think this is not possible in win2kpro.
that2s why you cannot add a new web site with win2kpro and iis 5.0..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.