ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข3y agoโ€ข
4 replies
kraftriver

Proxy api.mydomain.com

Can i use cloudflare to proxy my api so i can use WAF rules, DDOS protection and so on?

For html content i can understand how it work with cloudflare. If cloudflare doesn't have the requested resource, cloudflare request origin server for this resource then cache it or not (depending on the various caching rule and header)

But for api where it's only dynamic i'm not sure i get it. First is it allowed? and cloudflare would just forward the request to origin server and then when my origin server respond, would respond back to the client ? And this for every api requests?

If it's allowed do you even need a load balancer? if cloudflare proxy is doing most of the same work?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Getting mydomain.com is currently offline
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
How can I setup DNS from my subdomain.mydomain.com to subdomain.mydomain.pages.dev?
Cloudflare DevelopersCDCloudflare Developers / general-help
9mo ago
Trouble with subdomain.mysite.com proxy to mysite.com
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
when using Email Routing like support@mydomain.com to support1231231@gmail.com, we can receive ema
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago