How to add a custom domain name on your localhost using XAMPP.

Codes are based on Windows, but Step 2 onwards are 
pretty much applicable on other operating system.