In order to add a rule to the application gateway, we must do the following:
- In the Azure portal, locate the previously created application gateway.
- In the Application gateway blade, under Settings, select Rules. Select Basic to add a new rule:
- In the new blade, we must provide a name for the new rule and select the Listener, Backend pool, and HTTP setting, as shown in the following screenshot: