Jump to content
Updated Privacy Statement

reverse proxy how to redirect from an internal domain to a SAAS services


Recommended Posts

Hi Guys,

 

Well my company is using an external portal for some training. The website isn't hosted into my company, it's a SAAS Services.

 

https://training-exemple.com/portal/Login

 

But they want to access using an internal FQDN to make it more friendly like:

 

https://training.mycompany.com

 

How could I use my netscaler to reverse proxy from a domain to another domain and keeping /portal/Login

 

I cannot use DNS CNAME because of /portal/Login

 

Looking forward for a solution

 

Best regards

Link to comment
Share on other sites

I don't fully understand your problem.

 

You have an internal hostname https://training.mycompany.com. If you surf to this, you want to come to https://training-exemple.com/portal/Login, correct?

 

You will have to set up a lb vServer on your NetScaler. If somebody surfs to it and does not have any cookies about the logon, he/she will get directed to /portal/Login. That's a simple responder policy.  The expression for this policy would be HTTP.REQ.COOKIE.CONTAINS("logon") (given, the logon cookie's name is logon).

 

Are you concerned about the Host header? Just simply delete an HTTP header and insert another one.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...