majdi draouil
New Pleskian
- Server operating system version
- Ubuntu 22.04.4 LTS
- Plesk version and microupdate number
- Plesk Obsidian 18.0.66 Update #2
Here's a draft for your thread on the Plesk forum:
Hello,
I have a server running with Plesk, and I'm using Cloudflare to proxy traffic to my domain. However, I’ve noticed that accessing my server directly via its IP address bypasses Cloudflare, and I want to block such direct access completely.
Here’s my setup:
I’m looking for guidance on how to configure this on my server using Plesk. Specifically:
i want like this
Thank you in advance.
link of post https://community.cloudflare.com/t/...-access-and-ensure-error-1003-response/754634
Hello,
I have a server running with Plesk, and I'm using Cloudflare to proxy traffic to my domain. However, I’ve noticed that accessing my server directly via its IP address bypasses Cloudflare, and I want to block such direct access completely.
Here’s my setup:
- I have an A record in Cloudflare pointing to my server’s IP, and it is set to Proxied (orange cloud icon).
- My server is accessible via its IP address, which I want to block.
- I’d like to ensure that all traffic routes only through Cloudflare, and direct IP access shows a block or error message (e.g., Error 1003).
I’m looking for guidance on how to configure this on my server using Plesk. Specifically:
- How do I configure the firewall or web server (Apache/Nginx) in Plesk to block all requests not routed through Cloudflare?
- Are there specific Plesk modules or extensions to manage this easily?
- How do I restrict access to only Cloudflare’s IP ranges?
i want like this
Thank you in advance.
link of post https://community.cloudflare.com/t/...-access-and-ensure-error-1003-response/754634