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.
Want to check extension ranking and stats more quickly for other Firefox add-ons?
Install
Chrome-Stats extension
to view Chrome-Stats data as you browse the Firefox Browser Add-ons.
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.
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?
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.