Solved

Alias Redirection

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
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.

930 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

13 Experts available now in Live!

Get 1:1 Help Now