?
Solved

Direct different URLs to different Website folders.

Posted on 2013-06-25
1
Medium Priority
?
216 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 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

718 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