Virtual Hosts Virtual Hosts

Developer Tools
Version: 1.2
Last Update: 2015-10-29

Overview

Virtual Hosts is a Chrome extension developed by Gachl. According to the data from Chrome web store, current version of Virtual Hosts is 1.2, updated on 2015-10-29.
10,000+ users have installed this extension. 99 users have rated this extension with an average rating of .
developer website: codefreak.net

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.

Rating

99 ratings

Total Installs

10,000+

Information

Last Update

2015-10-29

Current Version

1.2

Size

9.7KiB

Author

Gachl

Website

codefreak.net

Category

Developer Tools

Latest Reviews

See More

avatar ezikhoyo
2021-07-25

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

avatar Cache
2021-07-20

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.

avatar max chen
2021-06-24

火狐的都可以添加多个啊,这个怎么就一个。。

avatar Scott Bain
2020-08-05

This actually works to sign into wordpress. I had tried a few other options first but this one works for me.

avatar nguyễn(グェン)syusei(集成)
2020-06-23

これはhostsファイルのように指定したIPで指定したドメインを参照するものではなく、指定したドメインにアクセスしようとすると指定したIPそのものでアクセスする。
IP直接指定して見れるものとまったく同じであり、hostsファイルの書き換えの代わりにならない。
全くなんの役にも立たない拡張機能