Solved

Alias Redirection

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…

757 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

18 Experts available now in Live!

Get 1:1 Help Now