LiveHosts

#3.38 / 39 rate

LiveHosts

10,000 users

2019-08-05

Aioros

Extension Information

5 star
43%
4 star
7%
3 star
12%
2 star
12%
1 star
26%

Supported Languages

Permissions

Hot Permissions

Description

Switch your host/IP mappings in real time without editing your hosts file

LiveHosts is a Chrome extension that aims at providing a working (even if sub-obtimal) solution to a common nuisance that many web developers have to deal with every day. If you have multiple versions of your websites sharing the same host names on multiple environments, you often need to switch the assignments in your OS hosts file.

Other extensions (like the life-saving HostAdmin) can help with the cumbersomeness, but changes to the hosts file usually take an inconvenient amount of time to actually affect the browser.

Unfortunately, there is no way to make Chrome direct requests for a hostname to a specific IP without a standard redirect - you could set up a smart HTTP proxy, but it's often not possible or not convenient.

This extension settles for a sub-obtimal approach: requests to the indicated hostnames are redirected to the chosen IPs with an additional Host header. The browser's address bar reflects this behaviour showing the hostname right after the IP (e.g. http://127.0.0.1/www.example.com/). The extension also tries to take care of all requests to either the IP or the hostname in a consistent way.

Issues

After the redirect, the user is effectively in a different domain that the one they expected. They may notice some functional differences:

- depending on the server, parts of a web page referring to the site URL (like href and src attributes) could be different from the original
- window.location has a different value that can potentially throw off JavaScript snippets
- most Cross-Origin request won't work

Reviews

How Mun Lee
How Mun Lee

Дмитрий Русаков
Дмитрий Русаков

Не работает.

Jem Peijnenburg
Jem Peijnenburg

Doesn't work on chrome. Does work on Firefox: https://addons.mozilla.org/nl/firefox/addon/livehosts/. Can this extension be fixed on chrome? I will adjust my review if it works.

Similar extensions

Virtual Hosts
Virtual Hosts

https://codefreak.net

Awesome Host Manager
Awesome Host Manager

https://keelii.com

Domain Switcher
Domain Switcher

https://shanson.co

Virtual Hosts
Virtual Hosts

D10100111001

URL's Host Switcher
URL's Host Switcher

DLAM

Website IP
Website IP

websiteip

HostSwitcher
HostSwitcher

rushton.nicholas

HostAdmin
HostAdmin

T.G.

Requestly - Intercept, Modify & Mock HTTP Requests
Requestly - Intercept, Modify & Mock HTTP Requests

https://requestly.com

Switch environment
Switch environment

matiascarranza

Domain Changer
Domain Changer

eungoo jung

Hosts modifier
Hosts modifier

kiyoshi.yamashita