Forum Moderators: phranque
2) the way I use is this:
2a) set up your virtual domains like you usually do
2b) edit /etc/host and point all of the test-domains to 127.0.0.1
eg. this is how my /etc/hosts looks:
[17:21:43@]$ cat /etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost 127.0.0.1 test.webadmin.info
127.0.0.1 test.mozilla.info
127.0.0.1 test.dtu.info