This isn't really a programming question but more about programming and testing tools.
Is there a way to get Firefox to send the header
Host: mydomain.com
when accessing a page at
http://ip.address.goes.here/
so that Apache can route it to the correct VirtualHost?