diff --git a/bin/v-add-web-domain-alias b/bin/v-add-web-domain-alias index ee6b94e3..59e077ca 100755 --- a/bin/v-add-web-domain-alias +++ b/bin/v-add-web-domain-alias @@ -51,6 +51,7 @@ is_package_full 'WEB_ALIASES' get_domain_values 'web' # Preparing domain values for the template substitution +local_ip=$(get_real_ip $IP) if [ -z "$ALIAS" ]; then ALIAS="$dom_alias" else