Some Basic Websites not Opens in Browser

I found this Problem in my laptop. I’m using Windows 10 os. I tried to open some websites[google, Facebook, YouTube, twitter, Instagram etc.,] in browser in my laptop but it is not opens and shows error. As follows

and

I tried many methods but all of that did’n work. Finally I tried the following method and I’m pretty sure it will help you to fix the problem.

  1. Go to C:\Windows\System32\drivers\etc
  1. Copy the host file into Desktop(You cannot edit this file in that place)
  2. Open the file in Notepad or any other text editor
  3. You may find some website names in last lines of the file
  1. Delete all those website names and save it
  2. Replace this file in C:\Windows\System32\drivers\etc
  3. Now check your try to open the websites and it will surely open.
  4. That’s it

I hope you may satisfied.

Thankyou!!!