Go to C:\Windows\System32\drivers\etc
1. Edit the host file
2. Add the new entry in the following format
<IP Address> <URL>
Eg:
172.11.11.11 abc.shaamil.lk
3. Save and close the file
4. In the Command prompt type in ipconfig /flushdns
You will get a message as "Successfully flushed the DNS Resolver Cache."
Done.. :)
If you are unable to edit the file in the given location, copy the file somewhere else do the changes and paste it back to the original location.
1. Edit the host file
2. Add the new entry in the following format
<IP Address> <URL>
Eg:
172.11.11.11 abc.shaamil.lk
3. Save and close the file
4. In the Command prompt type in ipconfig /flushdns
You will get a message as "Successfully flushed the DNS Resolver Cache."
Done.. :)
If you are unable to edit the file in the given location, copy the file somewhere else do the changes and paste it back to the original location.
No comments:
Post a Comment