Solved

Direct different URLs to different Website folders.

Posted on 2013-06-25
1
204 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Calendar Control 5 54
asp.net get gridview datakey from row command 2 45
Set the FileVersion of a website dll 1 60
Disable the weekends on datepicker control 6 52
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 …
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
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 antispam), the admini…

752 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