LiveHosts
Item logo image for LiveHosts

LiveHosts

Featured
3.5(

36 ratings

)
Item media 1 screenshot

Overview

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

3.5 out of 536 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

Christopher M BalzDec 5, 2023

Needs option to specify scheme such as "http://" instead of defaulting to "https://", which breaks a lot of dev setups.

1 person found this review to be helpful
Review's profile picture

Olexander RakovNov 27, 2023

Does not work on Chrome :(

Review's profile picture

Josue GarciaAug 30, 2023

The extension is not working on Chrome, but runs very well on Firefox, is there something to make it work on google chrome?

0 out of 2 found this helpful

Details

  • Version
    2.0.0
  • Updated
    March 29, 2022
  • Offered by
    Aioros
  • Size
    57.78KiB
  • Languages
    English
  • Developer
    Email
    aioros83@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Related

Requestly - Intercept, Modify & Mock HTTP Requests

4.4(1.1K)

The easiest way to Redirect URLs, Modify HTTP Headers, Mock APIs, Inject custom JS, Modify GraphQL Requests

Switch environment

3.7(3)

Switch from production to development environment, opening the same url into dev environment such as in localhost.

Domain Changer

4.3(6)

Simple Domain Changer

Hosts modifier

3.2(6)

Hosts Modifier allows you to effortlessly redirect domain requests without the need to modify your hosts file.

Virtual Hosts

3.3(101)

Access virtual hosts of a server without the need of host redirection or DNS.

Awesome Host Manager

4.2(13)

Yet another Host tools.

Domain Switcher

4.6(29)

Simplify web development by easily switching domains between specified URL groups.

Virtual Hosts

3.4(15)

Manage Virtual Hosts

URL's Host Switcher

1.0(1)

A tool for quickly switching the host of the current url. make it easy to jump the same path in a local, test or prod environment

Website IP

4.1(206)

Simple script which places the IP of the current website in the bottom right.

HostSwitcher

3.0(2)

Easily switch between hosts for the same path/endpoint.

HostAdmin

4.0(51)

Saving your time when you switch domain-ip mapping (Hosts file) between different environment. Awesome host file editor !

Requestly - Intercept, Modify & Mock HTTP Requests

4.4(1.1K)

The easiest way to Redirect URLs, Modify HTTP Headers, Mock APIs, Inject custom JS, Modify GraphQL Requests

Switch environment

3.7(3)

Switch from production to development environment, opening the same url into dev environment such as in localhost.

Domain Changer

4.3(6)

Simple Domain Changer

Hosts modifier

3.2(6)

Hosts Modifier allows you to effortlessly redirect domain requests without the need to modify your hosts file.

Virtual Hosts

3.3(101)

Access virtual hosts of a server without the need of host redirection or DNS.

Awesome Host Manager

4.2(13)

Yet another Host tools.

Domain Switcher

4.6(29)

Simplify web development by easily switching domains between specified URL groups.

Virtual Hosts

3.4(15)

Manage Virtual Hosts

Google apps