Link to home
Start Free TrialLog in
Avatar of Boon Chye Phang
Boon Chye Phang

asked on

Redirect all requests to specific page

I have a .Net web application in Azure Web App using custom domain name (including www) and bind to custom SSL. I want to redirect all requests to "/index.html" page using Web.config.

Meaning all these should be redirected:
http://mydomain.com
https://mydomain.com
http://www.mydomain.com
https://www.mydomain.com
http://mydomain.com/example
https://mydomain.com/example
http://www.mydomain.com/example
https://www.mydomain.com/example

How to achieve that? I can use another way to configure instead of Web.config if possible, but I cannot do at DNS level.
Avatar of Kyle Santos
Kyle Santos
Flag of United States of America image

Hi,

I am following up on your question.  Do you still need help?

If you solved the problem on your own, would you please post the solution here in case others have the same problem?

Regards,

Kyle Santos
Customer Relations
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.