0

I have Application Gateway with url based routing, /app1/ points to app1 app service, and /app2/ points to app2 app service.

I have domain test.com pointing to Application Gateway. So test.com/app1 routes to app1, and test.com/app2 to app2.

Next step is to configure ssl settings for both app services (I do not use ssl offloading here). Added test.com custom domain to app1, configured ssl bindings, adding a custom domain to app2 fails with a message:

Hostname is already being used in the following App: app1. Please remove the Hostname from app1, and try again

4
  • i think you need to reuse existing listener? Commented Feb 22, 2019 at 11:58
  • @4c74356b41 but I try to configure ssl on app services not on listener Commented Feb 22, 2019 at 12:10
  • ah, you mean on the web app? Commented Feb 22, 2019 at 12:13
  • yes, on web app Commented Feb 22, 2019 at 12:29

1 Answer 1

1

since you are talking about the webapps, you need to have your apps on the same webapp as "sub" apps. or you can bind you application gateway to the "native" webapp hostnames, that will also work as far as I know.

https://blog.bitscry.com/2017/10/11/hosting-multiple-sites-in-one-azure-webapp/

Sign up to request clarification or add additional context in comments.

1 Comment

I have two Azure App Services, one is asp.net project second is wordpress

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.