Can't upload hosts file and can't access site

Hi all,

I followed this guide to build a wordpress website offline step by step:](How To Create WordPress Website Offline? 2 Easy Methods)

However when I got to the local part, every time I try to update the hosts file I am met “looks like we ran into trouble updating the hosts file, it could be blocked by your anti virus” how do I verify it is my anti virus and also how do I stop this?

Any help would be appreciated as I cannot access the site.

Hello there @local1 - welcome to the Local Community! :wave:

Thank you for your question, this thread about anti-virus might be helpful to navigate this issue:

Let me know if that helps!

Sam :woman_technologist:t3:

Hi Sam,

Thank you for getting back to me!

Sadly it didn’t work :frowning:

I have Kaspersky, I followed the guide word for word, however at the end it says

Once you have the exclusion window open, exclude this path: C:\Windows\System32\drivers\etc\hosts

I could not find that file on the path, so perhaps the hosts file is missing altogether? I really don’t know:(

same here did not work for me to.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.