I assume it did work in the past. So - if you can't find a cause - go back in time (in Windows 8.1 that's called refresh or reset, not repair or restore) and all will be fine again.
But before doing it, take your laptop with you to a friend to see if it's really an issue of your machine (quite likely) or of the modem, router or ISP. If it happens to be a desktop, ask a friend (or maybe yourself?) to check if his laptop, tablet or phone work. If any laptop works, and yours worked in the past, it's sure that setting Windows back to factory conditions fixes it. For all purposes, it's a new laptop then.
Here's the problem,
For reasons unknown to me, my PC will only connect to Netflix, Gmail, and Google. All other websites time out and all applications will not connect to the internet.
I've booted in safe mode,scanned with Avast and Malware bites and they detect nothing, tried running 8.1's system repair, and system restore. I've also made sure that my anti malware and firewall have the correct permissions (I'm fairly sure)
Teetering on the point of rubbing my hard drive with magnets and tossing it to the wood chipper, I come to you. Please help me in my darkest hour to resolve this problem and allow the beautiful, holy light that is the internet, bless my life again.