You could try to use ASP code to do basically the same thing... If you place the code in the beginning your default web page (i.e. default.asp):
Sample wrote:
<% dim sname sname = Request.ServerVariables("SERVER_NAME") sname = ucase(sname) if InStr(sname,"SAMPLE1") <> 0 then response.redirect "sample1" elseif InStr(sname,"SAMPLE2") <> 0 then response.redirect "sample2" else response.redirect "welcome.asp" end if %> |
This would redirect from "sample1.domain.com" to "domain.com/sample1/"
and "sample2.domain.com" to "domain.com/sample2/"
and everything else "??.domain.com" to "domain.com/welcome.asp"
It's not exactly the same as subdomains, but for simple redirection it works.