Application Gateway Listener Multiple Host option not showing

Stephen Daniel 0 Reputation points
2024-12-30T03:40:19.3233333+00:00

Hi, I want to create a listener in my application gateway that listen to multiple hostname/sites. But when I choose the option Multiple/Wildcard, there is no input box showed to input my hostname list. I try using different browser and still get the same issue. Is there any solution about this?

User's image

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,213 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Prasanna Sinde 6,645 Reputation points Microsoft External Staff Moderator
    2024-12-30T11:44:51.6766667+00:00

    Hi @Stephen Daniel

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    • We have conducted tests on our side by selecting the multiple/wildcard host type, and it prompts for the host names as expected. User's image
    • Please try clearing your browser history and cookies, signing in and out, and using the browser's private mode. If you are unable to add multiple host names through the UI, kindly use the following Azure CLI script to resolve the issue.
     az network application-gateway http-listener create \     
    	--resource-group <resource-group-name> \     
    	--gateway-name <app-gateway-name> \     
    	--name <listener-name> \     
    	--frontend-ip <frontend-ip-config-name> \     
    	--frontend-port <frontend-port-name> \     
    	--host-names "site1.com,site2.com,site3.com" \     
    	--protocol Http  # Or Https if you have an SSL cert 
    

    For your reference: https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-multiple-sites-cli

    • The above image which you have mentioned shows you're configuring an HTTP listener (Port 80).
    • If you intend to use HTTPS, make sure you have an SSL certificate uploaded to your Application Gateway and adjust the commands/code accordingly.

    Kindly let us know if the above helps or you need further assistance on this issue.

    Thanks,

    Sai.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.