Essentially, is there a way to dynamically make firefox go to ip address when is entered in the address bar?

The benefit of this would be so that the host file does not have to be constantly updated when I am working on a new project on my local machine and I want to access my local web server via the web sites address.