What are the IP requirements for DirectAdmin?
In order for DirectAdmin to be able to run on your system, 3 things must be true:
1) The licensed IP must exist on the box. Type:
You must see the licensed IP in the output.
2) The licensed IP must function and be able to be bound to, e.g.,
wget --bind-address=126.96.36.199 http://www.directadmin.com/index.html
3) The IP that connects to our server must be the licensed IP.
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.
Connecting to directadmin.com failed: Connection timed out.
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|188.8.131.52|:443... failed: Connection timed out. Retrying.
means that the connection to our server cannot be established.
- If you've successfully downloaded the
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.
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:
Connecting to directadmin.com failed: Cannot assign requested address.
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=184.108.40.206 http://www.directadmin.com/index.html wget http://www.directadmin.com/index.html
where 220.127.116.11 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.