From 45af6538f0bfc04c61d79772afec489cc309bc51 Mon Sep 17 00:00:00 2001 From: Harry <14015057+HarryVasanth@users.noreply.github.com> Date: Fri, 2 Jun 2023 16:20:47 +0100 Subject: [PATCH] fix(configure): alternative `fqdn` check --- sh/debian/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/debian/configure.sh b/sh/debian/configure.sh index 53fc01d7..731eefd3 100755 --- a/sh/debian/configure.sh +++ b/sh/debian/configure.sh @@ -224,7 +224,7 @@ function runHTTPS() { echo "Enter the server FQDN $(tput setaf 2)[System: $(hostname)]$(tput sgr0):" read httpsFQDN # Check if the FQDN is valid - if ping -c1 -W1 $httpsFQDN 2>/dev/null; then + if dig +short $httpsFQDN >/dev/null 2>&1; then cd /root/core/https DOMAIN=$httpsFQDN ./run.sh echo -e "HTTPS service is up! \n"