0
votes

In Azure, I have set up the Application Gateway to redirect traffic from www.mysite.com to www.externalsite.com.

My DNS maps www.mysite.com to the Application Gateway public IP. I have two listeners on port 80 and 443 with redirect rules attached. The rules redirect traffic to www.externalsite.com.

Although the redirect works, I would like to ensure the URL (www.mysite.com) does not change in the address bar after being redirected to the external site.

1

1 Answers

0
votes

You can use HTTP Header rewrite functionality in Application Gateway V2 SKU and rewrite the Location header in the response header to www.mysite.com at the time of redirection.