Compare Chrome extensions: LiveHosts vs Virtual Hosts
Stats | LiveHosts | Virtual Hosts |
---|---|---|
User count | 10,000+ | 10,000+ |
Average rating | 3.47 | 3.36 |
Rating count | 36 | 100 |
Last updated | 2022-03-29 | 2015-10-29 |
Size | 59.17K | 9.93K |
Version | 2.0.0 | 1.2 |
Short description | |
---|---|
Switch your host/IP mappings in real time without editing your hosts file | Access virtual hosts of a server without the need of host redirection or DNS. |
Full summary | |
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:
|
== ABOUT == Overwrite the Host HTTP header to request a specific virtual host from a remote server. Often enough while waiting for DNS propagation or standing up a replacement site, developers edit the hosts file on their system to achieve the same effect. This extension basically does the same thing without the hassle. When detecting outgoing HTTP requests from your Chrome browser to the VHost Domain we redirect to the VHost IP. When detecting outgoing HTTP requests from your Chrome browser to the VHost IP, the extension simply adds a Host header containing the domain name specified in the VHost Domain. Any requests to sites other than the VHost Domain and VHost IP are ignored, so browsing other sites won't be impacted. == HOW TO USE ==
|