Solved

Alias Redirection

Posted on 2012-04-09
1
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Resolve DNS query failed errors for Exchange
An article on effective troubleshooting
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

749 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