Virtual Hosts

Apply virtual hosts and overwrite the Hosts header for development purposes.

Virtual Hosts - Firefox Add-on

Virtual Hosts is a Firefox add-on that allows you to access virtual hosts of a server without the need for host redirection or DNS. It overwrites the Host HTTP header to request a specific virtual host from a remote server, making it convenient for developers to test and develop websites without hassle or permissions.

Add-on stats

By: Longoon
Users: 294
-9
Rating: 3.75
(4)
Version: 1.0 (Last updated: 2020-01-31)
Creation date: 2020-01-31
Weekly download count: 11
Firefox on Android: No
Risk impact: High risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • webRequest
  • webRequestBlocking
  • *://*/
  • <all_urls>
  • storage
Size: 11.81K
URLs: Website

Other platforms

Virtual Hosts (v1.2)
3.31 (102) 10,000
Not available on Android
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Firefox-Stats data as you browse the Firefox Browser Add-ons.

Add-on summary

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

== ATTENTION == This addon may not do what you think it does! Make sure you read and understand the functionality before submitting a 1-star review because you think it does something which it's not supposed to do, thank you!

THIS ADDON IS FOR TESTING VHOSTS! THIS DOES NOT REPLICATE THE SYSTEMS HOST FILE DNS RESOLVING!!!

"Virtual Hosts" does not mean a "virtual hosts file" but refers to http "Virtual hosting"!!!

== ABOUT == Overwrite the "Host" HTTP header to request a specific virtual host from a remote webserver. IT DOES NOT RESOLVE DNS TO IP!!!!

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 facilitates the a similar effect without the hassle or when lacking permissions.

See more

User reviews

1. It does not work at all. "Add new Virtual Host" fails with error: jQuery.Deferred exception: background is null init@moz-extension://5a69c7e4-d5ab-44c1-b7ec-b8c20a17a751/popup.js:64:5 @moz-extension://5a69c7e4-d5ab-44c1-b7ec-b8c20a17a751/popup.js:70:5 e@https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29453 Deferred/then/l/</t<@https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29755 undefined Firefox 115.12.0 ESR. 2. Popup window (popup.html) depends on script from ajax.googleapis.com. Man, are you serious? Why don't you put jquery.min.js into .xpi file?
by Leo7K, 2024-06-29

Not work properly, when I press Add new Virtual Host and enter the IP in the IP field and the new Host in the Host field, Globally Enabled checkbox and individual checkbox is checked. The firefox error is NS_ERROR_UNKNOWN_HOST For example: - IP = 127.0.0.1 - Host = develop.test ================== Edited The issue was you have to reboot firefox v120.0.1 after install this plugin to works properly.
by sagaru, 2023-12-03
View all user reviews

Add-on safety

Risk impact

Virtual Hosts requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

Virtual Hosts has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details