Editing the Hosts File on a Chromebook/Chromebox

Huzzah! I’ve finally found a suitable alternative to editing the hosts file on my Chromebook.

Go to the Chrome Web Store, and get this extension: Hosts Switch Plus

Once you’ve added the extension, you can edit as you see fit… the one gotchya here, is there is an empty select box next to your newly created entries… if it’s not green the link isn’t enabled… which isn’t made immediately clear by the UI. Heres a quick screenshot of what I’m talking about.

 

HostSwitchPlus

Finally an app that lets me keep automatic updates rolling into my Chromebook, while making it sooo much more useful for development.

Ready for a new Chromebook? Check out the Samsung Chromebook Plus.

11 thoughts on “Editing the Hosts File on a Chromebook/Chromebox

  1. This does not seem to work for me.
    I have set a domain name to access an address in the LAN where I have a web server with a test site (for example: local.www.domain.com) but I can not access the web server (while with other Windows PCs and Mac works, after changing the host file).
    By running the command “network_diag local.www.domain.com” from crosh, I get “not able to resolve hostnames”, it looks like the editing of the host file has not worked. Can you give me some suggestion? thank you

    1. Hey Marco,
      Can you verify you have a green dot next to the entry in the “Host Switch Plus” extension?
      Thanks,
      Don

  2. thanks for your quick reply
    Sure, I have a green dot next to the entry in the “Host Switch Plus” extension.
    the Host Switch Plus shows:
    – green dot
    – Local IP address of web server
    – domain local.www.domain.com
    but does not work
    network_diag local.www.domain.com says:
    “FAIL: We can reach the nameservers but were not able to resolve hostnames”
    any suggestion?
    thanks

Leave a Reply

%d bloggers like this: