Summarize the issue in one to two sentences.
Steps to reproduce
As precisely as you can, list the steps it takes to reliably reproduce the issue.
Describe your environment.
- What Operating System are you using?
- What versions of site software (Nginx, Apache, PHP, MySQL) is used?
- What version of Local is installed?
Please provide your Local Log. See this Community Forum post for instructions on how to do so:
Include any screenshots or video recordings of the issue to help others reproduce.
Hello there @danial - welcome to the Local community!
Do you have anti-virus software installed on your computer that may be causing issues?
Here is some information and troubleshooting steps you can try related to anti-virus + Windows:
Let’s start there!
I apply these changes but still facing this issue?
Are you still experiencing issues with this?
We would be happy to assist with your Local troubleshooting! Could you provide some more details to help us take a further look?
Keep us posted and we’d be happy to help further!
Try with this one if you use with Windows 11 operating system. It might be because of the hosts file is hidden and you only see hosts.ics.
Open Command Prompt and run with Administrator.
Since you in administrator mode, your terminal will show something like this
Now, you need to cd the path to your hosts folder.
Then use this command
attrib -r -a -h -s hosts
-r (remove read-only)
-a (remove archive attrib)
-h (remove hidden attrib)
-s (remove system attrib)
Hidden is the first layer of protection. “System” normally protects system files and you may not see them.
Then run again your local and see your domain inside your hosts files.