Solved

Alias Redirection

Posted on 2012-04-09
1
258 Views
Last Modified: 2012-06-27
Dear all,

I would like to set up the following scenario on IIS web server.

1.  When user type 'portal' on browser, it will redirect to http://server1/country_portal
2. When user type "reporting' on browser, it will redirect to http://server1/region_reporting

I can create a CNAME records for 'portal' and 'reporting' to point to server1.  I get stuck on how to redirect to the corresponding sites with different alias as shown above.

Many thanks!
0
Comment
Question by:ICKW
1 Comment
 
LVL 10

Accepted Solution

by:
scriven_j earned 500 total points
ID: 37827027
This is not possible using DNS as it won't work in the way that you want it to.

The CNAME record will allow "portal" and "reporting" to redirect to server1, but you can't append the web folder.

They would still need to use portal/country_portal and reporting/region_reporting.

IIS doesn't have anything built in to do this (unlike Apache which has something called Mod_Rewrite which allows you to do things like this).

However, you can get third party tools which add this functionality such as ISAPI REWRITE:-

http://www.isapirewrite.com/

This will allow you to scan the URL and redirect accordingly and is the only way to achieve this.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

840 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