cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
624
Views
0
Helpful
4
Replies

CSM - How to redirect subdomains

dwl255
Level 1
Level 1

Hi,

We have need to redirect subdomains through the CSM to various parts of our normal production website. For example, we want to be able to go to "http://whatwedo.company.com" and then we want to automatically redirect them to "http://www.company.com/aboutus/mission/whatwedo.htm."

We are trying to come up with a standard way to support this functionality, as creating more subdomains is very likely in order to shorten the URLs for being printed in advertising. My question is what is the best way to do this with the CSM? Should I use a URL map and corresponding policy map?

We can dedicate a single VIP to listen for all subdomains, and that VIP would be separate from our production website's VIP.

Any and all help is appreciated!

4 Replies 4

Gilles Dufour
Cisco Employee
Cisco Employee

if you want to do this on the CSM, you don't have the choice but use url-map with policy-map and redirect serverfarm.

Gilles.

So, can I do this with one URL-map, policy-map, and multiple redirect serverfarms? Or, will I have to have a unique URL-map, policy-map, and redirect serverfarm for each subdomain?

Thanks again!

you need a unique url-map, a unique policy-map and a unique redirect server for each url/domain you want to catch and redirect.

Gilles.

Ok, that's what I was afraid of! Thank you for your help!!!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: