Question
Why can't I acces my website through its ip address after setting up CloudFlare?
I was able to access my website by putting the ip address of my droplet to the web browser. Some time ago I started using cloudflare CDN. Now I am not able to access my website with its ip. I only can visit by using my domain name.
I know that the point of using CloudFlare is not accessing the server directly through IP address. But I couldn’t get how CloudFlare can block access through droplet’s own ip address. I only pointed my domain name to their nameserver and give them my droplet ip.
Thanks in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×