I've set up an IP based virtual domain but I can't get it to work by name, only by IP address. Why?

See the answer to question 5.1.