diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg
index 2f81a7a6449767bdf4c5dafe0343ae0a6e3cbdd4..e90580927b036b8b91dbdc139658ab9b7af38e3e 100644
--- a/templates/haproxy_cfg
+++ b/templates/haproxy_cfg
@@ -61,9 +61,11 @@ frontend http_in
 {% if proxy_redirect_aliase %}
 {% for drupal in hostvars[host].drupal_settings|default([]) %}
 {% for domain in drupal.domains|default([]) %}
+{% if not domain.multidomain|default(false) %}
 {% for alias in domain.aliases|default([]) %}
   redirect prefix {{ domain.protocol|default('https') }}://{{domain.domain}} code 301 if { hdr(host) -i -n {{alias}} }
 {% endfor %}
+{% endif %}
 {% endfor %}
 {% endfor %}
 {% endif %}
@@ -99,9 +101,11 @@ frontend https_in_{{ cert.ip }}
 {% if proxy_redirect_aliase %}
 {% for drupal in hostvars[host].drupal_settings|default([]) %}
 {% for domain in drupal.domains|default([]) %}
+{% if not domain.multidomain|default(false) %}
 {% for alias in domain.aliases|default([]) %}
   redirect prefix {{ domain.protocol|default('https') }}://{{domain.domain}} code 301 if { hdr(host) -i -n {{alias}} }
 {% endfor %}
+{% endif %}
 {% endfor %}
 {% endfor %}
 {% endif %}