The reason you need virtual hosts in this case is that even though they serve the same content, there is still a difference between the two ports. One of them has SSL enabled, the other one doesn't. So you need to explain to apache how to know which config to use for which port, and VirtualHost is how you do it.
↧