you can try IP directly, it should still work.
I tried running the script, and this is what happen:
root@ols-box:/home/sysadmin# ./setup.sh
--2020-11-23 13:44:12--
http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3644 (3.6K) [application/x-sh]
Saving to: ‘STDOUT’
- 100%[=================================================>] 3.56K --.-KB/s in 0s
2020-11-23 13:44:12 (44.5 MB/s) - written to stdout [3644/3644]
detecting OS type :
detected OS: debian - 10
now enable the LiteSpeed Debian Repo
register LiteSpeed GPG key
--2020-11-23 13:44:12--
http://rpms.litespeedtech.com/debian/lst_debian_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1198 (1.2K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’
/etc/apt/trusted.gpg.d/lst_de 100%[=================================================>] 1.17K --.-KB/s in 0s
2020-11-23 13:44:13 (25.3 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’ saved [1198/1198]
--2020-11-23 13:44:13--
http://rpms.litespeedtech.com/debian/lst_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2336 (2.3K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’
/etc/apt/trusted.gpg.d/lst_re 100%[=================================================>] 2.28K --.-KB/s in 0s
2020-11-23 13:44:13 (26.6 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’ saved [2336/2336]
update the repo
Hit:1
http://deb.debian.org/debian buster InRelease
Hit:2
http://deb.debian.org/debian buster-updates InRelease
Hit:3
http://security.debian.org/debian-security buster/updates InRelease
Ign:4
http://rpms.litespeedtech.com/debian buster InRelease
Hit:5
http://rpms.litespeedtech.com/debian buster Release
Reading package lists... Done
All done, congratulations and enjoy !
Current platform is DEBIAN10 debian buster.
Detect remote server, will skip Apache setup!
Install basic packages
Install Apache Web Server
Skip!
Install openLiteSpeed Web Server
Version: openlitespeed 1.6.17
[ERROR] Failed to start the web server.
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
Install PHP & Packages for LSWS
Install PHP & Packages for Apache
Skip!
Setting Apache Config
Skip!
Setting OpenLiteSpeed Config
cp: cannot stat './webservers/openlitespeed/conf/httpd_config.conf': No such file or directory
cp: cannot stat './webservers/openlitespeed/conf/vhconf.conf': No such file or directory
sed: can't read /usr/local/lsws/conf/vhosts/Example/vhconf.conf: No such file or directory
sed: can't read /usr/local/lsws/conf/vhosts/Example/vhconf.conf: No such file or directory
sed: can't read /usr/local/lsws/conf/vhosts/Example/vhconf.conf: No such file or directory
sed: can't read /usr/local/lsws/conf/vhosts/Example/vhconf.conf: No such file or directory
Job for lsws.service failed because the control process exited with error code.
See "systemctl status lsws.service" and "journalctl -xe" for details.
Please check
Please check