<p>Can I add multiple hosts to the Ingress controller so that they refer to the same target group in the aws load balancer? Example:</p>
<pre><code>  rules:
  - host: [&quot;foobar.com&quot;, &quot;api.foobar.com&quot;,  &quot;status.foobar.com&quot;]
    http:
      paths:
      - backend:
          serviceName: foobar
          servicePort: 80 ```

</code></pre>

Bell
<p>You can use hostname wildcards if you are using Kubernetes &gt; 1.18 version.</p>
<p>For more information check these links:</p>
<p><a href="https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/basic-configuration/" rel="nofollow noreferrer">https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/basic-configuration/</a>
<a href="https://kubernetes.io/docs/concepts/services-networking/ingress/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/ingress/</a></p>
<pre><code>rules:
- host: &quot;foobar.com&quot;
  http:
    paths:
    - backend:
        serviceName: foobar
        servicePort: 80
- host: &quot;*.foobar.com&quot;
  http:
    paths:
    - backend:
        serviceName: foobar
        servicePort: 80
</code></pre>
