Virtual Hosts
Item logo image for Virtual Hosts

Virtual Hosts

codefreak.net
3.3(

101 ratings

)
Item media 1 screenshot

Overview

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

== 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 == - Enable - Click the VHost icon in the top right and enter the desired domain name. When a domain is present and [x] Enabled is checked, the VHost icon turns red. That means all websites will be requested with the entered domain. - Disable - Untick the [ ] Enabled checkbox. The icon will turn green-ish which means VHost is disabled and all websites will be requested with the regular host name. == Source == I released the source code on GitHub: https://github.com/Gachl/Virtual-Hosts-Chrome-Extension I was unable to improve this extension with more features and I saw it being used by quite a lot of people. So thank you for that! If you need any features you can find the code or a fork of someone who already implemented more stuff over on GitHub. == THANK YOU == For using this extension. If you have the time to spare, please consider rating it in the Web Store. Many thanks to mcarver (https://github.com/mcarver) for: - Cleaning my very basic JS - Adding request filtering - Adding redirect - Adding Chrome storage sync - Making this thing better in many ways For the next version I hope to merge Zacqarys changes (https://github.com/Zacqary/Virtual-Hosts-Chrome-Extension) to this version.

3.3 out of 5101 ratings

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

Review's profile picture

Hayden ThringApr 18, 2024

just redirects to the specified ip

Review's profile picture

ezikhoyoJul 25, 2021

Currently broken, going to any page displays "Hmmm… can't reach this page" with ERR_INVALID_ARGUMENT as the reason.

2 out of 2 found this helpful
Review's profile picture

CacheJul 20, 2021

What's not mentioned in the documentation is that this extension also works to redirect one domain to another. You can put the target domain in the VHOST IP field. So this is a nice utility to redirect example.com to dev.example.com. Perfect for my use case.

Details

  • Version
    1.2
  • Updated
    October 29, 2015
  • Size
    9.7KiB
  • Languages
    English
  • Developer
  • 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 not provided any information about the collection or usage of your data.

Support

Google apps