M
mc
I would like to host two websites on my brinkster developer account.
I have configured the multiple applications and they both work fine,
they can be access at: -
myalias.brinkster.net/site1
and
myalias.brinkster.net/site2
I have two domain names that I want to point to each of the sites
www.site1.com
and
www.site2.com
however the only facility brinkster offer is to have both the domain
names resolving to the root of my site (i.e. myalias.brinkster.net).
I have placed a default.aspx page with a switch statement based on the
url request and then dot a redirect to myalias.brinkster.net/Site1 or
myalias.brinkster.net/Site2 respectively.
This works and the applications work fine but the urls then read,
www.site1.com/Site1 and www.site2.com/Site2.
I gather I could use URL rewriting to address this issue however all
attempts so far to use context.RewritePath() have resulted in the
applications not working. I get an error about not being able to find my
HTTP Handlers I have defined in the web.config of the application.
Could someone propose a way I could implement URL rewriting or any other
technique to enable me to support this configuration?
I have configured the multiple applications and they both work fine,
they can be access at: -
myalias.brinkster.net/site1
and
myalias.brinkster.net/site2
I have two domain names that I want to point to each of the sites
www.site1.com
and
www.site2.com
however the only facility brinkster offer is to have both the domain
names resolving to the root of my site (i.e. myalias.brinkster.net).
I have placed a default.aspx page with a switch statement based on the
url request and then dot a redirect to myalias.brinkster.net/Site1 or
myalias.brinkster.net/Site2 respectively.
This works and the applications work fine but the urls then read,
www.site1.com/Site1 and www.site2.com/Site2.
I gather I could use URL rewriting to address this issue however all
attempts so far to use context.RewritePath() have resulted in the
applications not working. I get an error about not being able to find my
HTTP Handlers I have defined in the web.config of the application.
Could someone propose a way I could implement URL rewriting or any other
technique to enable me to support this configuration?