New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
DirectAdmin panel 2222 and Cloudflare?
Hi,
I am switching some of my sites to a DirectAdmin host and I ran into an issue with the control panel login. Usually with cpanel I use domain.com/cpanel but using domain.com:2222 does not work.
I figured it is because I am using cloudflare.
How do I get around this and still use cloudflare?
Advice appreciated.
Comments
Use the IP-address or hostname of the shared hosting server.
Change port to 80 or 443 or Cloudflare Tunnel
There was a thread on the DA forums about just recently in case you want to give it a vote:
https://forum.directadmin.com/threads/da-proxy-port-w-cloudflare-please-vote-it-up.70292/
https://community.cloudflare.com/t/adding-directadmin-port-2222-to-cloudflare-proxied-ports/100798
Change port to 8443
There are several ports that you can proxy traffic through Cloudflare , but 2222 is not among them.
Have a look at this link to see all options:
https://developers.cloudflare.com/fundamentals/reference/network-ports/
Use https://developers.cloudflare.com/rules/origin-rules/features/#destination-port
Create a new subdomain, and redirect traffic to 2222.
Didn't know Cloudflare could do this! I've been using NGINX proxy_pass to achieve this for pretty much forever.
I think you can change the SSL port to 8443 (or one of the other CloudFlare supported SSL ports) in /usr/local/directadmin/conf/directadmin.conf.
ssl_port=8443
se https://docs.directadmin.com/directadmin/general-usage/accessing-da-panel.html for more methods.
Are you reffering to Tunnel Feature?
Origin Rules helps you set up a port override based on the rules you define (e.g. if $hostname is da.example.com then connect to my origin server at port 9876 instead of 80 or 443). It has nothing to do with Tunnel.
Oh I mixed it with ZeroTrust Tunnel.
Apparently, I have used Origin Rules