updated for dc-3
diff --git a/templates/apigee-provision.conf.j2 b/templates/apigee-provision.conf.j2
index 9f3ce54..b46fd8a 100644
--- a/templates/apigee-provision.conf.j2
+++ b/templates/apigee-provision.conf.j2
@@ -38,10 +38,12 @@
VHOST_NAME={{ virtual_host_name }}
# If you have a DNS entry for the virtual host.
-{% if groups['dc-2'] is defined and inventory_hostname in groups['dc-2'] %}
-VHOST_ALIAS={{ groups['dc-2-rmp'][0] }}
+{% if groups['dc-3'] is defined and inventory_hostname in groups['dc-3'] %}
+VHOST_ALIAS="{{ groups['dc-3-rmp'] | join(' ') }}"
+{% elif groups['dc-2'] is defined and inventory_hostname in groups['dc-2'] %}
+VHOST_ALIAS="{{ groups['dc-2-rmp'] | join(' ') }}"
{% else %}
-VHOST_ALIAS={{ groups['dc-1-rmp'][0] }}
+VHOST_ALIAS="{{ groups['dc-1-rmp'] | join(' ') }}"
{% endif %}
# If you do not have a DNS entry for the virtual host,