Access virtual hosts of a server without the need of host redirection or DNS.
Virtual Hosts Extension
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.
Source Manifest.json
Similar Extensions
LiveHosts 10,000+ 40 ★ 57.78KiB
HostAdmin 10,000+ 53 ★ 181KiB
Awesome Host Manager 10,000+ 15 ★ 969KiB
Domain Switcher 10,000+ 29 ★ 1.05MiB
Virtual Hosts 10,000+ 16 ★ 274KiB
Hosts modifier 10,000+ 6 ★ 274KiB
HostSwitcher 10,000+ 2 ★ 7.57KiB
Website IP 10,000+ 207 ★ 55.45KiB
Requestly - Intercept, Modify & Mock HTTP Requests 10,000+ 1227 ★ 876KiB
Google Analytics Debugger 10,000+ 533 ★ 28.88KiB
DNS Flusher 10,000+ 16 ★ 18.67KiB
Host name rewriter 10,000+ 14 ★ 28.02KiB
ModHeader - Modify HTTP headers 10,000+ 1061 ★ 676KiB
Siderite's DNS Resolver 10,000+ 5 ★ 58.61KiB
Server IP 10,000+ 48 ★ 35.34KiB
Xdebug helper 10,000+ 429 ★ 70.13KiB
Tamper Chrome (extension) 10,000+ 233 ★ 20.92KiB
Akamai debug headers 10,000+ 24 ★ 4.85KiB
IP Address and Domain Information 10,000+ 569 ★ 246KiB
Header Hacker 10,000+ 121 ★ 159KiB
Modify Header Value (HTTP Headers) 10,000+ 46 ★ 94.33KiB
Request Maker 10,000+ 184 ★ 138KiB
ShowIp 10,000+ 80 ★ 54.38KiB
Simple WebSocket Client 10,000+ 97 ★ 53.95KiB
User reviews
斎木稔貴 (ID: 000000086ccc68ab) Voted 1 ★ - Updated 06/04/2023
Marco Martorana (ID: 00000015afacb6f1) Voted 1 ★ - Updated 06/23/2022
ezikhoyo (ID: 000000bd7b1e7ddd) Voted 1 ★ - Updated 07/25/2021
Cache (ID: 0000009fe3e3ce4f) Voted 5 ★ - Updated 07/20/2021
max chen (ID: 0000002c8b55ecca) Voted 3 ★ - Updated 06/24/2021