Local Community

Missing hosts entry problem on Windows 10

@wpservicenerds,

Based off of the errors, it looks like your computer might be missing the hosts file.

Can you verify that C:\Windows\System32\drivers\etc\hosts exists? If it doesn’t, see https://support.microsoft.com/en-us/help/972034/how-to-reset-the-hosts-file-back-to-the-default for more information.

Thanks Clay for the reply and answer…I’ll go check now. I remember the folder being empty when I checked the first night I installed Local by Flywheel. However, I’m going to just go to microsoft and RESET it as you recommend. I’ll send an update when I have reset it…and tried to start the test website I created with no errors about the host file missing. Thanks again.

Did exactly what you mentioned Clay…and now when I start Local…it just hangs gets stuck on the LOADING screen…but never loads.

Also I didn’t have a “hosts” file…So I created one…I did have a lmhosts.SAM file…So I changed that to lmhosts, then I renamed it after to imhosts.old (This is what windows recommended)

This is when the local load stared hanging at the startup screen.

Ik then went to ad “hosts” file…so I created that…and the imhosts file now is imhosts.old…and the startup screen still hangs and gets stuck loading…yet NEVER Loads.

Hey Clay…Thanks for the solution that led me in the right direction…but I went a bit further. I did what you told me…as you can see my message from yesterday…I got a NEW Issue…while the 1st issue had not yet been solved. Fast Forward to today…I read this post about NOT Working IN Windows 10…and I followed the steps there…and BAM!!! I went to reload Local By Flywheel…and a windows 10 message notified me that local by flywheel was trying to install or REDIRECT to the 'hosts" file you had me create from the Microsoft link…Well IT WORKED!!! BUT NOT WITHOUT ADDING THE FIRST STEP THEN THE STEPS FROM TODAY MESSAGE BY ANOTHER USER.
@SoniaCrea


After I did what you suggested in your last message and link…and by adding whats in the link above…this solved my problem…and I was able to get the test site working…and the cannot Find Hosts file error…WENT AWAY!!! THIS WORKS 100%!!! Let everyone else know who are having the same issue. Thanks again Clay.

Blessings-Don

Hi Don,

Glad you got it working!

Just to clarify, you had to go to VirtualBox and delete the local-by-flywheel VM for this issue to go away?

I have the same question as @clay because as I understand you were able to fix those exact errors that I mentioned in my post and you are on Windows 10, right?

What I’ve done before was:

  1. Deleting totally the local-by-flywheel VM inside VirtualBox
  2. Reinstalling Local
  3. I’ve edited hosts file on my computer manually (it existed before on my windows, but Local just wasn’t able to edit this file automatically)

This way I was able to see working site in my browser, however, nothing changed when it comes to warnings and errors being visible on my screenshots above - I still see them.

So did you do anything more except those steps I mentioned? Would be great if I would get rid of those errors too.

Yes, thats exactly what I did. Now there’s another issue. Some error about a Container…One minute everything was working…I left my computer with local running for about 2 hours…then came back…and the test site wouldn’t start. I did the remove local fix…and I got the missing or no container error. SMH…When is an update coming that eliminates ALL of the issue I and other are having on Windows 10??? Thanks clay.

@paweltar Hi, I first created a NEW host file as Clay mentioned to do with my issue. Then I saw a new post complaining that this issue is happening on Windows 10…and the fix doesn’t work…So I followed what they did…In my post above screenshot…and What do you know…I restarted Local…and it worked. Windows told me that local was trying to access and point to the new hosts file that I created…after it located it and linked…I was able to access the test website I created. Now today…Something very different is happening. Don’t know if it’s a internet connection issue…but when trying to START the test website…it just hangs…sometimes it gives an error about missing montainer…other times…,.it loads and loads…but never completes…and goes to the website…SMH. Clay We Need An UPDATE Brother. I know you’re working hard already. Please send any new info about a fix on Windows 10 about these issues. Thanks brother

Please create a new thread so we can better track the other issue you’re running into. When creating the thread, please include the local-by-flywheel.log file after attempting to start the site in Local. Here are the instructions for retrieving that file: How do I retrieve Local’s log file?

Hi Clay, I just got your message brother. I found a solution. I had to “completely” delete Every aspect of the Local By Flywheel Instal including the VirtualBox installation from my Windows Desktop computer. After a few attempts to just delete the software install…I realized that The Folders and Files were “STILL DISPLAYING” in multiple locations on my computer. It wasn’t enough to just delete the app…and restart my computer…because every time I did that…I’d find the SAME installed/created Website folder…no matter how many times I deleted the app. So I got smart, and deleted EVERY Association of the previous version of the app.

I then downloaded the Latest update from yesterday’s release…and it installed with NO ISSUES!!! THANKS CLAY, you and the guys and gals at LBF ROCK!!! Please pass this along…I’ll upload my current log anyways. Thanks Now I can start creating and testing some of these client websites and my own personal business ideas and websites on Local By Flywheel.

One more question: Is there a way to increase the file size upload limit…seems like there’s a set limit…because the BE theme wouldn’t upload. I’'d like to set it to the highest allowable upload limit. Thanks

Blessings-Donlocal-by-flywheel.log (25.2 KB)

Glad you got it working!

Do you have a screenshot of the error you’re running into when uploading the theme?

Also, one other thing you can do in the meantime is to extract the theme into the site’s app/public/wp-content/themes directory using the regular file browser on Windows. You can easily get to the site’s folder by clicking on the circled arrow by the site path underneath the site title in Local.

I’ll take the screenshot now…BRB. Thanks Clay.

Here’s the screenshot…and a video of the selection process of the plugin

Can’t upload the 20 sec video of the selection of the theme from my desktop…files too large in zip format. So the screenshot should be enough. It shows the error message. Thanks Clay.

Aha. If it’s a theme make sure you’re using the theme installer and not the plugin installer.

Here’s how you can get to it:

  1. Go to Appearance
  2. Go to Themes
  3. Click “Add New”
  4. Click “Upload Theme”

…lol…I’m STUPID Today…lol…I REAAALLLYYYY Should know better…I was sleepy man…I was up trying to get Local to work until 4 am Detroit, MI Time…lol…WOW! I always say…it’s the simplest things sometimes…lol Thanks Clay…This is funny. Thanks

Haha, no worries. It happens to the best of us! :slight_smile:

Yea…thanks Clay…lol

Rats, this did not resolve my issue with 2.1.1 and 2.1.2 :frowning:

@metrosuperstar,

Can you describe the issue you’re running into?