To start off I can say that my domains nameservers is pointed to Clouudflare and the DNS is controlled by Cloudflare as well. Then I point my domain to the IP Address of my WHM / cPanel installation. This setup is only for a single domain just because I wanted the extra privacy with a VPS for web hosting.
When you type the domain my site works perfectly (With SSL) but you can connect directly to the server with the direct IP which I want to be hidden from the public to remove the possibility of any kinds of attacks.
How do I disable connecting through the browser with the IP of my WHM / cPanel Server and enforce my domain to connect to it with my cloudflare setup?
Another question for me lies how should my Cloudflare propagation look for my private vps cpanel hosted site? (eg. DomainRegistor > Cloudflare > cPanel server or DomainRegistor > cPanel > Cloudflare? I have always beliewed that Cloudflare should be in front of my web server but this limits WHM & cPanels functions.
Any ideas and comments would be greatly appreciated.
Regards, Jake
When you type the domain my site works perfectly (With SSL) but you can connect directly to the server with the direct IP which I want to be hidden from the public to remove the possibility of any kinds of attacks.
How do I disable connecting through the browser with the IP of my WHM / cPanel Server and enforce my domain to connect to it with my cloudflare setup?
Another question for me lies how should my Cloudflare propagation look for my private vps cpanel hosted site? (eg. DomainRegistor > Cloudflare > cPanel server or DomainRegistor > cPanel > Cloudflare? I have always beliewed that Cloudflare should be in front of my web server but this limits WHM & cPanels functions.
Any ideas and comments would be greatly appreciated.
Regards, Jake