Posted by: prajapatinilesh | April 8, 2009

hosts file setting.

Location of host file:
C:\WINDOWS.0\system32\drivers\etc\    — hosts
Host file is used to bind the site url with our ip address.
<ip_address>  (
Statrt >> Run >> cmd >>
ipconfig — to check ip address of our pc.
C:/>ipconfig /help
C:/> ipconfig /displaydns
C:\>ipconfig /flushdns
C:\>ipconfig /renew
If you will find error during the flush dns then apply following steps:
C:\>ipconfig /flushdns
Windows IP Configuration
Could not flush the DNS Resolver Cache: Function failed during execution.
1) Click Start
2) Click RUN
3) Type services.msc in the text box
4) Click OK or hit Enter
5) Scroll down to DNS Client and double click it
6) Select General tab and select Startup type: Automatic or manual
7) Click Apply
8) Finally at Service Status Click Start (if it is stopped)  //click on start

Nilesh Prajapati.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: