By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

Retrive Full URL in Request

P: n/a
Please can anyone tell me if and how I can do the following:

Say I have a domain name: mydomain.com

I am using web forwards and am able to allocate sub domains using my
DNS provider, eg website1.mydomain.com and website2.mydomain.com

I want both these URLS to web-forward to the same default page on the
same ASP application running on the same webserver.

This is easy, but my question is can I resolve the URL name which was
originally typed into the client browser using the request object or
something similiar in my asp.net page? I want to use this information
to taylor the content sent back to the browser, so that website1 and
website2 appear to be different sites, but are actually the same
default.aspx page.

Can anyone tell me if this is possible, or is the URL information lost
when the Browser / client machine does the initial DNS lookup?

Thanks

Jonathan
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.