Unable to access DA from external IP

Rockyuk

Verified User
Joined
Aug 3, 2020
Messages
59
Hi Everyone,
I am literally pulling my hair out with this, I am using AlmaLinux OS with DA, CSF and CXS which is also installed. I can access everything fine internally but as soon as I try to access everything via external IP it does not work. The website which I have setup I can access as it is going through CloudFlare, but if it was not I am sure I would not be able to access it. All firewall Ports are open on router and CSF, even when I disable CSF I still can't access it externally!

I was running another Control Panel on the same network which worked flawlessly, so I know it can work just can't figure out why I can't access it externally. Any recommendations much appreciated.

Thanks

Rockyuk
 
Ok, update I can now access the my hostname via mobile network just not my internal WIFI/ISP.
 
Does your modem support nat-loopback?

Well must be if you could also access your other control panel the same way via your external ip. However, what is happening very much looks like it.
I wondering if it is a DNS issue with the server itself, if i disable the firewall and DMZ the server on the network still can't connect externally. It leads me to believe it is a DNS Issue?
 
It leads me to believe it is a DNS Issue?
If it was a DNS issue, then you wouldn't be able to connect via your mobile phone network either.

However, you can easily test if it's a DNS issue, because you can just try to connect to your external ip.
Like http://192.168.0.1 where you replace that ip with your real external ip.
If you can connect to your server, then you would get a notice "Apache is functioning normally" and then it could be a DNS issue.

If you are not able to connect that way either, then it's most likely you don't have nat-loopback support.
 
Exactly this is why it is odd the site which is behind CloudFlare works flawlessly. But I can't access my External IP or Hostname directly! My router has nat-loopback support enable by default and no option to disable it. I have check out the log files and can't really see anything that stands out at present.
 
My router has nat-loopback support enable by default
You router. But how about your modem? Because that is the one that makes the decision.
If it's enable there too, then I don't know.

It might be a configuration issue on which ip DA is configured and running. I did not run DA on a LAN yet (trying soon) so maybe somebody else with a DA on a LAN can shed some light on this?
 
It's as modem/router in one, i have a separate mesh WIFI network also connected to it as well. Looking in the system messages i am seeing a lot of these

Apr 17 11:15:24 server named[1441]: client @0x7fc9c80fac00 IP Address#14008 (server.domain.com): query 'server.domain.com/A/IN' denied
Apr 17 11:15:24 server named[1441]: client @0x7fc9c80fac00 IP Address#64591 (server.domain.com): query 'server.domain.com/A/IN' denied

I have redacted the obvious bit but could it be this causing the issue?
 
So, finally got all my sites working due to configuration issues in the named file. My last setup was CentOS 7 and a different control panel same servers. I could access the server internally and externally no issues, same modem/router etc. Setup same server with AlmaLinux OS and DirectAdmin and can only access the server internally unless I use an external network connection to view the server/sites. Makes no sense at all.
 
Back
Top