In order for DirectAdmin to be able to run on your system, 3 things must be true:
You must see the licensed IP in the output.
wget --bind-address=18.104.22.168 http://www.directadmin.com/index.html
If you only have a LAN with 192.168.x.x or 10.x.x.x IPs on it, then you can use this guideopen in new window.
During the installation of DA, the following error:
--2019-11-22 10:12:06-- (try:11) https://www.directadmin.com/ Connecting to www.directadmin.com|22.214.171.124|:443... failed: Connection timed out. Retrying.
means that the connection to our server cannot be established.
setup.shscript from www.directadmin.com, then it would imply that our firewall is not blocking you (if we block an IP, we block the IP on all ports). To test this, try:
wget -O /dev/null http://www.directadmin.com/index.html wget -O /dev/null https://www.directadmin.com/index.html
If both ports are blocked, try this test using other websites, e.g.,
wget -O /dev/null http://www.apple.com/index.html wget -O /dev/null https://www.apple.com/index.html
If you cannot connect outbound to any server on port 443, then it's likely a firewall on your end. We recommend installing CSF open in new window which will open the required outgoing ports.
If apple.com works, but directadmin.com does not (with the above guide), then contact us to see if your IP is in our firewall. It's also possible it's blocked at our datacenter, in which case you'd need to contact them to get it unblocked. However, if it's blocked at our datacenter, then there would be a reason for that and you'd need to convince them that whatever reason it was blocked in the first place no longer applies. You might just be part of an entire IP range block, so don't take it personally.
Sometimes a datacenter will block outbound port 443. We have a work-around to allow the getLicense script to download the license using port 80. To enable this mode, type:
echo 1 > /root/.insecure_download
and run the
getLicense.sh script again.
The last possibility is that you're running on a LAN instead of the required external IP. Use the LAN installation guideopen in new window.
Other related guides:
This would imply that the IP that was specified for the install is not a valid IP address on your machine.
If you are running a LAN or behind a NAT with a different IP on the machine than would be visible from the internet, then use this guideopen in new window.
You can test out the command by running:
wget --bind-address=126.96.36.199 http://www.directadmin.com/index.html wget http://www.directadmin.com/index.html
where 188.8.131.52 is the IP address in your license file. If you get the same error with the
--bind-address option, then that IP is not present or valid in your network device.
The 2nd wget command should work from within a LAN. If both fail, then it's some other issue (firewall, network, routing, etc.).
You can run:
to see what IPs are present in your network device. Make sure the IP in your license is present somewhere in the output.
The IP in your license file must be present and working in the network device.