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

0
16
Asked By CreativeEcho92 On

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!

4 Answers

Answered By FrameworkNinja77 On

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.

Answered By TrafficTamer21 On

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.

Answered By BotHunter82 On

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.

Answered By CloudflareGuru95 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.