Creating virtual host depends on the Operating System as well as which web server you are using (Nginx or Apache). Here are some references on how to create a virtual host:


Installing Laravel Valet - How to setup a local dev environment

https://www.youtube.com/watch?v=sbv61xK_vD8&t=6s&ab_channel=QuentinWattTutorials


Virtual Host on Mac OS X with Mamp (free version)

https://www.youtube.com/watch?v=Chyive5BmPk&ab_channel=SebastianSulinski


How to create Virtual Host in MAMP?

https://www.youtube.com/watch?v=UZwT5gQ4M9w&ab_channel=DrupalDeveloper


Easily Setup Virtual Host on Mac Using MAMP

https://www.youtube.com/watch?v=EBiTMYVs0FA&ab_channel=CeedMedia


How to Setup Virtual Host on Localhost / WAMP Server

https://www.youtube.com/watch?v=mlwgMZ82A1g&ab_channel=BoundlessGeek


How to create virtual hosts in MAMP?

https://stackoverflow.com/questions/35251032/how-to-create-virtual-hosts-in-mamp


How to create virtual hosts in WAMP in windows?

http://codedecode.co.in/blog/wordpress/set-up-virtual-host-with-wamp/


How to use Valet to create virtual hosts on MacOS?

https://laravel.com/docs/7.x/valet

https://medium.com/modulr/how-to-install-laravel-valet-on-mac-f061ce2d095e

https://medium.com/better-programming/how-to-serve-laravel-apps-with-valet-on-macos-1f51e4fe1062