Netscaler 10.1 Rewrite or Respoinder Policy

I need to create a policy that will all URL request list abc.test .com and redirect them to one specific servers IP for testing. Would I use a responder correct? If so I am have problems with the expression synatx. I have see the follow Citrix KB for still a bit confused..

http://support.citrix.com/article/CTX120664.?_ga=1.109123077.1279971585.1444329157
LVL 20
compdigit44Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CoralonCommented:
Assuming you are redirecting all traffic for that one domain, you don't really need a responder policy.

Add your test servers to the VIP, and then clear the check mark to disable the other servers, and done.  

If that doesn't do what you need, you could also do a simple redirection on the VIP to the "new" IP's/URL.

Coralon
0
compdigit44Author Commented:
The simply setting the VIP to out of service would work for a quick test but  I will need to filter out traffic to request to abc.com go to the default service but request to 123.abc.com go to one specific server only. The believe this is a responder policy by the syntax to create one in 10.1 always messages me up
0
CoralonCommented:
Since you are dealing with other domains above the root, then you *might* need it.   But, again, the other option for testing would be to set up a separate VIP on a separate IP (since the main domain will stay on the first IP) and then use that for your test servers.. It will have a separate DNS entry for that subdomain (and actually either way, you will need a separate VIP for your secondary testing URL.

Unfortunately I don't have a Netscaler to play with anymore.. I started writing one out, but without a Netscaler to tinker with I can't be sure.. but the key piece to this will be:
HTTP.REQ.URL.CONTAINS("abc.test.com") 

Open in new window


As mentioned above, you'll add a 2nd VIP for the test domain, and you'll use the request statement above to redirect to the test VIP.   I hope that gets you on the right path.  But, all you are doing with this is faking the second VIP/DNS entry which is definitely easier a different way (especially since it is just for a test).

Good luck!

Coralon
0
compdigit44Author Commented:
Thanks I will give it a try and let you know how I make out... what would the ball park syntax be for the 'Action' also this would need to be a responder and not a rewrite policy correct?  I always get confused when to use one over the other
0
CoralonCommented:
The action will be to redirect to your secondary VIP.  I wish I had a netscaler to play with :-\  

Coralon
0
compdigit44Author Commented:
I setup the reponder policy but it is not working on the host header and I get a blank page. for the redirect do I need to type in http://server.com or can it just be server.com without http
0
CoralonCommented:
With a redirect, you do need to send the protocol handler.

Coralon
0
compdigit44Author Commented:
Can you explain what you mean by "protocol handler"??
0
CoralonCommented:
The first part of the url.. http://,  https://, ftp://, mailto://  etc..

Coralon
0
compdigit44Author Commented:
In my redirect I did specify it as "http://www.server.com"
0
CoralonCommented:
That should work assuming your clients can resolve the name..

Since it sounds like it isn't, I'm kind of stuck without a netscaler to work it out.

But, this article looks clearer than Citrix' support article - http://blog.rightsys.com/2014/05/using-netscaler-responder-policies-to.html

Coralon
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
compdigit44Author Commented:
Would it still work if I am using a local host file on my workstation to test with?
0
CoralonCommented:
It will if you are redirecting by name.. if you are redirecting by IP, you won't be able to.

Coralon
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Citrix

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.