When you're running a server from your house or a small business and you only have one IP address to allocate on your web server. You can use this method to configure multiple sites with the single IP Address.
See how to configure DNS:
https://www.youtube.com/watch?v=iJALObKbSsQ
Download the demo sites:
http://goo.gl/HDhRPR
آی-ویدئو