Main Forum > General Computer Support
Changing of hosts file for a website, pl advise
jraju:
Hi,
I had the problem of redirecting randomly to my service provider mail service , i mean randomly, . I asked for solution and nothing worked. I changed the Dns to google and OPen dns. The problem continued.
As per some suggestions found in the websites, i just added these websites, with the hosts file and took care to rename the original hosts file in c:windows\system32\drivers\etc.
I renamed the original as .bak file and copied the one to desktop , made those additions and again copied the same to the directory i mentioned above.
Now the problem seems to be not occuring.
My question is , is changing the hosts file risky. The annoyance of the site was experienced when i click a reply to be sent to some forum etc. The redirection would completely close the reply session and i could not find my typed words. Sometimes , it will not load, but after few seconds the redirection would go to the mail website.
Can i expect, a word from you , friends
I just added 127.0.0.1 name of the website, without www in the first line and withwww in the second line
PS: i would love to know, how the problem resolved the technical details about this 127 and the change i made. I just did as was in the net page
Samson:
By adding a website to your hosts file and giving it an IP address of 127.0.0.1 means that your PC will not look to get the IP address from your chosen DNS servers, instead it will loopback to the localhost, your computer. Windows checks the Hosts file for entries before querying your DNS servers.
Boggin:
MS used to have a Fixit button to reset the Hosts file to default, but now it looks like you have to do it manually -
https://support.microsoft.com/en-gb/kb/972034
Samson:
Or use Shane's tool :wink:
http://www.majorgeeks.com/files/details/tweaking_com_repair_hosts_file.html
Boggin:
--- Quote from: Samson on August 04, 2016, 04:32:11 pm ---Or use Shane's tool :wink:
http://www.majorgeeks.com/files/details/tweaking_com_repair_hosts_file.html
--- End quote ---
I've been to Spec Savers :D but I'll have to have a look at all of the tools Shane has created.
Navigation
[0] Message Index
[#] Next page
Go to full version