PART 3 - CREATING VIRTUAL HOST FOR LARAVEL PROJECT

Published: 05 March 2023
on channel: Leo Paliuanan
640
9

Topic: LARAVEL PROJECT (E-SHOP) CAPSTONE PROJECT

I have finished installing a laravel breeze UI - scaffolding for my laravel project

open the folder c:/xampp/apache/conf/extra
look for httpd-vhosts and open the file


VirtualHost *:80
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
/VirtualHost

VirtualHost *:80
DocumentRoot "C:/xampp/htdocs/L1003062023ESHOP/public"
ServerName eshop.test
/VirtualHost


save the file





open a notepad as administrator
from the notepad - open the folder c:/windows/system32/drivers/etc/
view all files and look for hosts

look for 127.0.0.1 localhost
add the line 127.0.0.1 eshop.test

restart xampp - apache and mysql



open browser and from the URL type in the address eshop.test

advantage - we no longer need to run php artisan serve just to run our application


Watch video PART 3 - CREATING VIRTUAL HOST FOR LARAVEL PROJECT online without registration, duration hours minute second in high quality. This video was added by user Leo Paliuanan 05 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 640 once and liked it 9 people.