Setup Virtual Host with XAMPP in Windows OS

A virtual host can point to any folder on any drive of the system, it’s generally used to easily manage if we store all of our sites in a common location (like HTDOCS folder in case of XAMPP).

Virtual host also enables us to use “Preety URL” in our local development environment. Like:

We can Use: http://laravel.dev
Instead of: http://localhost/laravel5-test/public/

In short, virtual host enables us to point any directory or sub-directory by using our given (i.e. custom) URL format.
Continue reading