07-25-2005 11:50 AM
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.
07-26-2005 12:39 AM
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 :
Regards,
Gilles.
07-26-2005 06:29 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide