'DirectAdmin Default port Resolve Through CloudFlare

I have a host with a Directadmin Panel, which I can access using https://example.com:2222. Since i repalced cloudflare ns with my host provider ns to redirect traffic through cloudflare, I can't access the admin panel using example.com:2222. When I searched about this issue, I couldn't find any solution because all the solutions suggested changing the port but I couldn't access the server's root account.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source