LiveHosts LiveHosts

Developer Tools
Version: 2.0.0
Last Update: 2022-03-29

Overview

LiveHosts is a Chrome extension developed by Aioros. According to the data from Chrome web store, current version of LiveHosts is 2.0.0, updated on 2022-03-29.
10,000+ users have installed this extension. 28 users have rated this extension with an average rating of .

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

Rating

28 ratings

Total Installs

10,000+

Information

Last Update

2022-03-29

Current Version

2.0.0

Size

57.78KiB

Author

Aioros

Website

None

Category

Developer Tools

Latest Reviews

See More

avatar Fanatics Developer
2022-04-21

It does not work as it rewrites your url to use the desired IP instead of the dns address. It does not work because when the browser tries to match the SSL certificate with the domain name they'll never match!!!

avatar MiYiTaN
2021-12-30

Perfecto para editores web como yo, puedes tener una web con el dominio apuntando a ella y otra que estés creando nueva sin tener que apuntar el dominio a esta última, a veces tarda, pero es genial poder ver en el mismo navegador un mismo dominio y dos webs :D

avatar David Campbell
2021-12-14

So incredibly simple. I no longer have to edit my hosts file and best of all, I can choose to enable it in only one tab. This is genious for my needs. Thank you =)

avatar Jangwon Han
2021-10-26

Thanks. It helps!

avatar Alex Zeleznikov
2021-10-11

It just rewrites the URL it does not update DNS/hosts file, doesn't work at all