I opened hosts and edited them and saved them to C:\Windows\System32\drivers\etc Hosts. After I opened them again, there was still no change to the original ones. Can anyone help me?
phpcn_u24250
phpcn_u24250 2017-09-06 14:08:31
0
4
1378

This is how I open hosts

127.0.0.1 localhost

After editing

127.0.0.1 localhost

127.0.0.1www .demo.com

After saving to C:\Windows\System32\drivers\etc Hosts, opening it again is still the same as before.

127.0.0.1 localhost

I don’t know the reason. Can anyone help?

phpcn_u24250
phpcn_u24250

reply all (4)
张荣昌

Mine is also blank. Blank file domain name resolution is useless and annoying. It’s a numbing piece of junk software. The official doesn’t even explain how to fix it. I’ll fuck you up a hundred thousand times.

    王先生

    It is recommended to use switch hosts to manage hosts

      phpcn_u24250

      I found the reason. There is a problem with my local hosts. Just download a replacement online

        Day

        It is caused by the permission problem of C drive. You can first copy the hsot file of C drive to the desktop, edit it, and then copy it to the specific etc directory of C drive and replace it

        • reply Thank you for your enthusiastic reply. The problem has been solved.
          phpcn_u24250 author 2017-09-06 14:36:04
        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!