Reviews for Virtual Hosts
Virtual Hosts by Longoon
4 reviews
- Rated 1 out of 5by sagaru, a year agoNot 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.Developer response
posted a year agoHi sagaru
It looks like you try to open develop.test, which does not exist. This addon does not help with DNS resolving, it only adds the Host header to any http request matching the IP.
"Virtual hosts" does not mean a virtualisation of the hosts file of your OS but refers to "Virtual hosting" commonly implemented by HTTP servers!
The addon does not help in resolving develop.test to 127.0.0.1. You have to access the website like you would otherwise access it.
All the addon does is to add or overwrite the "Host" HTTP header so that WHEN you access the website 127.0.0.1 it will act as if it was accessed through develop.test.
Access the page by IP and it works as expected.
If you want to access 127.0.0.1 by entering develop.test you have to map this in your hosts file of your OS. This is not what the extension does for you. The addon only provides a virtual host to the webserver. - Rated 4 out of 5by Tobyw7, 3 years agoGreat add-on for web dev testing and a lot simpler than changing host files. Like others have mentioned access the site via IP address
- Rated 5 out of 5by おさ, 3 years agoThis is a very useful add-on if your production and development servers are set to the same domain and you don't want to switch hosts files or restart your browser every time.
- Rated 5 out of 5by gummiost, 3 years agoIf you for some reason can't edit your windows hosts file, then this plugin will save you. Enter the IP of the destination and the hostname.
When you access the site in the browser, remember to use the IP in the address bar and not the host.