Hi Pavan,
Yes that is the correct file. When you get to the hosts file don't double click it. Instead right-click and choose the option "Run as Administrator". If it prompts you for you password enter it (it may not though). It will open the file and then you can make your changes and save.