I have a home setup, so one public IP address. I have a registered domain with two A records set up DDNS to my public IP. On the router, port forwarding it set up on port 80 and 443 going to the VIP of the Netscaler Gateway. I have a Netscaler Gateway on port 443/80 and have http-https redirection working.
The Netscaler Gateway is public A records is gatway.example.com, and the other A record is vpn.example.com. I'm using vpn.example.com just for DDNS when I do VPN so I dont have to remember my public IP. Of course, if I put vpn.example.com in the browser I get SSL error because the SSL cert is tied to gateway.example.com.
My question is, is there any rewrite/responder policies I can bind to the NEtscaler Gatway config, so that if any requests hit vpn.example.com, they automatically rewrite/redirect to gateway.example.com?
I appreciate any help you can provide. Thanks.