Introduction
When you want to run several websites on one server, virtual hosting lets you do that by directing visitors to the right site based on the website address they use. This saves money and resources by sharing one server for many domains.
When you want to host multiple websites on a single server without buying separate servers for each.
When you want to save costs by sharing server resources among different websites.
When you want to manage different websites with different domain names on the same IP address.
When you want to test multiple websites locally on one machine before going live.
When you want to organize websites for different clients on one server but keep them separate.