Solved

Direct different URLs to different Website folders.

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now