cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
5
Helpful
2
Replies

CSS domain redirection

a.edens
Level 1
Level 1

All,

Can anyone advise on the best way to re-direct entire domains to a new domain?

Specifically, our problem is that our original domains are all being retired. As of a certain date, I would like to re-direct every request of *.olddomain.com to a "sorry" page. From there the user can click onwards to the home page of the new domain, and reset his/her bookmards.

Can I do this with the CSS, and are there any coding examples?

Thanks in advance.

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

I assume the new domain and the old domain both point to the same VIP address.

In this case, you can do

owner mycompany

content olddomain

vip x.x.x.x

proto tcp

port 80

url "//www.olddomain.com/*"

add service redirect

active

content newdomain

vip x.x.x.x

proto tcp

port 80

url "/*"

add service ...

add service ...

active

!

service redirect

ip address x.x.x.x [sorry server ip address]

active

OR the service redirect could really be a redirect to another ip

For more information on how to configure redirect on the CSS, look at the following document :

http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml

Regards,

Gilles.

Thanks for the help Gilles.

We are using the same VIP address, so this configuration should apply.

I have bookmarked the above link, and will read through it today.

Thanks again for the help.

Review Cisco Networking for a $25 gift card