title: How do I redirect multiple URLs in Azure Application Gateway?
body: <p>In Azure Application Gateway, is it possible to do the following redirects:</p>
  
  <pre><code>example.com/folder1/page1.html &gt; newexample.com
  www.example.com/folder1/page1.html &gt; newexample.com
  example2.com/folder2/page2.html &gt; newexample.com/page2.html
  </code></pre>
  
  <p>I've added a single listener and rule for the first redirect and that is working. I've tried to add multiple rules through the Azure dashboard, but see the following error:</p>
  
  <pre><code>There are no unassociated listeners available. Create a new listener and then try again.
  </code></pre>
  
  <p>When I try to add another basic listener, I see:</p>
  
  <pre><code>This HTTP listener cannot use the same frontend port as an existing listener.
  </code></pre>
  
  <p>Also, if I change the existing rule to be redirect to another URL, it doesn't appear to update - I am redirected to the original site.</p>
  
  <p>Any help is appreciated.</p>