I have a droplet with the public ip and ubuntu running apache.
I have cloudflare for ssl.
People access my website through domain.com and it is secured.
But people can also access it through the public ip
How do I stop that?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello friend!
You can block all traffic to the web server in your firewall, and then allow traffic from these IP ranges:
https://www.cloudflare.com/ips/
This will ensure that your web server can only be reached through CloudFlare.
Kind Regards, Jarland
Your link shows bunch of ips. What do you actually do with them to stop accessing IP other than your own domain? Is there any more information on this somewhere? Someone is using my IP address to host his sub-domain.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.