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
How to download and manually install Virtual Hosts extension for Chrome
Looking for a way to install Virtual Hosts extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install Virtual Hosts extensions manually, this article outlines two simple methods to effortlessly install Virtual Hosts extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Virtual Hosts extension and manually install through Drag &Drop
If you ever need to manually install a Virtual Hosts extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the Virtual Hosts Extension by clicking the "Download CRX" button on the website.
Look for the Virtual Hosts extension you wish to install. Go to the website and download the Virtual Hosts extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Virtual Hosts extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the Virtual Hosts extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download Virtual Hosts extension for Chrome and install in Developer Mode
This is another method to install Virtual Hosts extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the Virtual Hosts extension file
Select and download the Virtual Hosts extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the Virtual Hosts extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Virtual Hosts extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the Virtual Hosts extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install Virtual Hosts extension in 2 ways. We hope this guide proves helpful.
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