How can I reduce unwanted traffic on my simple portfolio website?

December 20, 2025 4 answers
Asked by CreativeEcho92
I'm hosting a basic one-page portfolio website on GitHub Pages with a custom domain, and I'm using Cloudflare for additional support. Recently, I've been overwhelmed with traffic: the site had 30k requests last month and just this week alone, it received 14k requests. After activating 'Under Attack' mode, it seemed to help at first, but then today alone, it hit nearly 10k requests in just one hour. I'm really frustrated and confused about where all this traffic is coming from and how to effectively prevent it. Any advice would be greatly appreciated!

Answers

CloudflareGuru95
Since your website is just a single page, I suggest bypassing 'Under Attack' mode for long-term traffic management. Instead, enable Bot Fight Mode, which allows Cloudflare to deal with annoying bots automatically. It's designed for situations like yours, where straightforward bots are causing trouble.

NoGoogleSearch22: I've already blocked bots, even Google, since I don't want my site to show up in search results.

Reply to this answer
BotHunter82
It sounds like you might be dealing with bots that use SSL certificate transparency logs to find new domains. They often target sites like yours for training their own botnets. One way they check their IPs is by sending a bunch of requests to see which ones get blocked. Essentially, your site acts as a testing ground for them.
Reply to this answer
TrafficTamer21
Have you checked your Cloudflare logs? The Security section has analytics that could offer insights. You might want to leverage Cloudflare's Web Application Firewall to block suspicious traffic by specific ASN numbers or even entire countries if necessary. Targeting individual IPs isn't usually effective, but broader rules can help.

Wanderer88: It looks like hundreds of requests are getting blocked daily. My site's getting traffic from all over the world, and itโ€™s hard to pinpoint exactly what to block.

Reply to this answer
FrameworkNinja77
Do you happen to use any frontend frameworks like React or Next.js? There were some vulnerabilities mentioned that you might want to patch up. Just checking in case that's a factor!

StaticSiteWizard: GitHub Pages only supports static sites, so those server-side issues wouldn't really apply here for me.

SvelteStar42: I'm using Svelte with a static adapter, so I'm not worried about those exploits.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions