Advertisements

Setting up a NetScaler for URL Redirection


Here are the steps involved in setting up URL Redirection…

Usage cases:

1. One public IP and multiple services requiring the same port number

Example:

  1. http://www.domainname.com -> Web Server01 on port 80
  2. blog.domainname.com -> Web Server02 on port 80

As you can see in most case you would need to Public IP addresses to get this completed however using Content Switching on the NetScaler you can simply make this happen with One Public IP

What you will need to do is the following:

  1. Login to your NetScaler
  2. Click on Content Switching
  3. Create a Virtual Server (This is going to be your Public Server)
  4. Create a Policy with the following, -> Name = WWW or BLOG (this is just a friendly name), Domain = http://www.domainname.com, Rule = nstrue
  5. Repeat step 4 for as many URL Headers as you need redirected
  6. Now for the fun stuff…
  7. Click on Load Balance
  8. Create a Server, Service, and Virtual Server for the above backend servers
  9. Now back to Content Switching…
  10. Open the Virtual Server you created in Step 3
  11. Now add the policies you created in step 4
  12. Now for each Policy you add, add the Virtual Server(s) you created in step 8
  13. Before testing make sure your DNS entries are set correctly so http://www.domainname.com should point to the Virtual Servers IP you created in Step 3 or atleast the NAT’ed address.
  14. Now Time to Test launch a Web Browser and browse to http://www.domainname.com and blog.domainname.com

I will be adding a video about this configuration shortly, also I will be adding a blog about NAT’ing

Here is the link to the Interactive HOW-TO Video http://blog.ntcrash.biz/FlashVideos/NetScaler URL Redirect.htm

Advertisements

Posted on April 29, 2011, in Citrix, NetScaler. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: