diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv
index 51fde3b89460533e5d989558277d1e597f6ae845..2cb22d9713505b0e19980c228f9348789232b77c 100755
--- a/src/freedombone-app-postactiv
+++ b/src/freedombone-app-postactiv
@@ -845,9 +845,9 @@ function install_postactiv_main {
     fi
 
     POSTACTIV_SERVER=${POSTACTIV_DOMAIN_NAME}
-    #if [[ $ONION_ONLY != 'no' ]]; then
-    #    POSTACTIV_SERVER=${POSTACTIV_ONION_HOSTNAME}
-    #fi
+    if [[ $ONION_ONLY != 'no' ]]; then
+        POSTACTIV_SERVER=${POSTACTIV_ONION_HOSTNAME}
+    fi
 
     # Create the configuration
     postactiv_installer=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/scripts/install_cli.php