IIS Configuration for sub domain name .

IIS Configuration for sub domain name .

am 07.04.2008 10:07:30 von Sem

I have for example following site on IIS Server : http://samplesite.com
and i have registered additional sub domain name : http://test.samplesite.com
in World dns servers .
I want all people who comes to http://test.samplesite.com will
redirect to http://test.samplesite.com/somedir/somefile.html .
How i can do that ?

Thanks for reading

RE: IIS Configuration for sub domain name .

am 12.04.2008 03:17:00 von Engtmk

hi sem,
you will create a site that is listening on the real ip for your registered
site and then you will have two options :

1)redirecton using code :
create index.html under the above site then place java script that
will redirect the user to the place you wish

2)redirection using IIS:
you can set the sit home directory to (A redirection to a url ) and
then you can type in the full url or just the virtual directory you wanted
and you will select (A permanent redirection for this resource)

"Sem" wrote:

> I have for example following site on IIS Server : http://samplesite.com
> and i have registered additional sub domain name : http://test.samplesite.com
> in World dns servers .
> I want all people who comes to http://test.samplesite.com will
> redirect to http://test.samplesite.com/somedir/somefile.html .
> How i can do that ?
>
> Thanks for reading
>