Windows operating system won’t let you to edit hosts file directly and save.You need to administrator rights to perform this task.
Simply open notepad with administrator rights ,
Go to this path and click on open
Simply make changes whatever you want here
And save the file .