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

CSM URL Redirect

jcarvalh
Level 1
Level 1

Hello.

I have the following config (short version):

vserver Test

virtual 10.0.1.210 tcp www

serverfarm Test

inservice

serverfarm Test

real 172.16.254.13

inservice

My goal is to redirect all traffic arriving to vserver Test, from http://123.test.com to http://123.ip.com

I have seen some examples but I get confused, since the redirect serverfarm is not associated with any real server; I also find litle to none documentation explaining url redirecting.

Thanks in advanced,

JC

1 Accepted Solution

Accepted Solutions

Typical CSM redirection is as follows.

vserver Test

virtual 10.0.1.210 tcp www

serverfarm REDIRECTFARM

inservice

serverfarm REDIRECTFARM

nat server

no nat client

redirect-vserver WWW2

webhost relocation 123.ip.com 302

inservice

above config will send a 302 redirect to any client request matching http://10.0.1.210.

Client browser will then initiate a new http request for http://123.ip.com.

You will need to have another VServer waiting for connection attempts to http://123.ip.com and this Vserver will have the real in it.

HTH

Syed Iftekhar Ahmed

View solution in original post

4 Replies 4

Typical CSM redirection is as follows.

vserver Test

virtual 10.0.1.210 tcp www

serverfarm REDIRECTFARM

inservice

serverfarm REDIRECTFARM

nat server

no nat client

redirect-vserver WWW2

webhost relocation 123.ip.com 302

inservice

above config will send a 302 redirect to any client request matching http://10.0.1.210.

Client browser will then initiate a new http request for http://123.ip.com.

You will need to have another VServer waiting for connection attempts to http://123.ip.com and this Vserver will have the real in it.

HTH

Syed Iftekhar Ahmed

This means that I need to have another entry in the DNS server (for http://123.ip.com)?

if you redirect to 123.ip.com you indeed need an entry in the dns server so the client can resolve that hostname to an ip address.

But, why do you want to redirect to this hostname if you don't have a dns entry already ??

What's the goal of your redirect ?

Gilles.

Basically, our client does not want the real url to appear on browsers. So we put a different entry on the DNS server and then we redirect or rewrite the request to the original url (http://123.ip.com).

I can do this easily (rewriting) using some ISA servers that I have; but since I find CSM more reliable I was trying to do it on the CSM.

That is why I am trying to do this.

JC

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: