diff --git a/scripts/deployment.sh b/scripts/deployment.sh
index 678910533c879ac1fe26fd545bcf298197f53f89..01136afba8b1200fcc43a41965c9a7767d9edec3 100755
--- a/scripts/deployment.sh
+++ b/scripts/deployment.sh
@@ -50,7 +50,7 @@ export AIRFLOW_UID=$(id -u)
 
 pip install -r $GIT_REPO/requirements.txt
 
-sed -i "s_datalogistics.eflows4hpc.eu/_${SERVER_DOMAIN}_g" $GIT_REPO/dockers/docker-compose.yaml
+sed -i "s_datalogistics.eflows4hpc.eu_${SERVER_DOMAIN}_g" $GIT_REPO/dockers/docker-compose.yaml
 
 # it is at this point assumed that ip and volume are correctly assigned, and that dns is working properly
 echo "-----------Bringing up the docker containers-----------"