subdomain url rewriting?

L

Leon

Is it possible to allow my website user's to enter the site using a
subdomain name such
johndoe.mywebsite.com then a automated script in the Global.asax file within
the
Application_BeginRequest redirect the user to
mywebsite.com/index.aspx?username=johndoe?
if so then how?

I kind of know how to perform this task with vanity url's such as
mywebsite.com/johndoe, but not
subdomain name. Thanks!
 
B

Bruce Barker

it done with iis. there are two methods

1) each dns entry get a unique ip address. in this case iis setup with
multiple ippaddress and each ipaddress is a unque site.

2) using http 1.1, all dns entries get the same ipaddress, and a website is
setup for each subdomain name use the host header.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top