Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Direct different URLs to different Website folders.

Posted on 2013-06-25
1
Medium Priority
?
222 Views
Last Modified: 2013-08-04
I have a single website that has a number of domain names, I need to direct each one to a differen application folder and landing page.

IE. I have www.mydomain.com, support.mydomain.com and info.mydomain.com all DNS point to a single webserver running IIS 7.5 on Server2008. What I want to do is know if user enterred www. or support. or info. and then redirect them to a specific folder/page.

Do I do this in the default .asp page? if so how do I find the enterred URL? Or is there a way to do it within IIS itself?
0
Comment
Question by:Gary2Seven
1 Comment
 
LVL 11

Accepted Solution

by:
LordWabbit earned 1500 total points
ID: 39274329
You will need to create seperate websites in IIS, and for each DNS change the Host Name to match that DNS and point the website at your seperate folders.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question