Solved

Direct different URLs to different Website folders.

Posted on 2013-06-25
1
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
LordWabbit earned 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

630 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