If you have an ASP space and you want to place multiple sites, this code can help you
First one
<%
If Request.ServerVariables ("SERVER_NAME") =www.webjx.com Then
Response.Redirect "williamlong/"
Else
Response.Redirect "I.htm"
End If
%>
A second
<%
Select Case Request.ServerVariables ("Http_host")
Case "Www.webjx.com" ' 1
Server.Transfer ("v3.htm")
Case "Www.moon-soft.com" ' 2
Server.Transfer ("i.htm")
Case "Www.write100.com" ' 3
Server.Transfer ("write100.htm")
...... Continue to add ...
End Select
%>
A third
<%
If InStr (Request.ServerVariables ("SERVER_NAME"), "www.webjx.com") >0 Then
Response.Redirect "Index.asp"
ElseIf InStr (Request.ServerVariables ("SERVER_NAME"), "moon-soft.com") >0 Then
Response.Redirect "X/index.asp"
ElseIf InStr (Request.ServerVariables ("SERVER_NAME"), "write100.com") >0 Then
Response.Redirect "Index3.asp"
End If
%>
Fourth one
<%
If Request.ServerVariables ("server_name") = "www.webjx.com" Then
Response.Redirect "Index1.asp"
ElseIf request.servervariables ("server_name") = "www.moon-soft.com" Then
Response.Redirect "Index2.asp"
ElseIf request.servervariables ("SERVER_NAME") =www.write100.com Then
Response.Redirect "Index3.asp"
End If
%>