Solved

Alias Redirection

Posted on 2012-04-09
1
254 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

777 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