For some unknown reason if you suddenly can only access certain websites (on your Windows PC) such as Google, Youtube or Facebook and you’ve tried everything, but nothing works, you’re in luck.
I can’t tell you how many hours I look for and tested some suggested solutions, but to no avail. Then, finally, when I was about to give up, I discovered the answer to my prayers.
Here’s the simple solution that worked for me in enabling me to visit any website again:
Hit your Windows and R keys
Now Type cmd
At C:\Users\YourName>
Type ipconfig/flushdns and hit enter
Restart your computer.
That’s it!