MOTOSHARE ๐Ÿš—๐Ÿ๏ธ

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

How to create virtual local host setup in Laravel

LaravelVirtualizationWebsites

In this tutorial Iโ€™m going to describe how to set up virtual host in Laravel. Please follow this Tutorial and you able to create successfully virtual host in Laravel

1. Go to C drive and Go to this Directory-> C:\xampp\apache\conf\extra and open httpd-vhosts name of folder

Virtual-host-in-laravel

Open this folder -> httpd-vhosts

2nd Step Copy Below Code

๐Ÿ‘‡

<VirtualHost *:80>

DocumentRoot โ€œC:/xampp/htdocs/blog/publicโ€

ServerName localhost

</VirtualHost>

<VirtualHost *:80>

DocumentRoot โ€œC:/xampp/htdocs/blog/publicโ€

ServerName blog.co

</VirtualHost>

โ˜๏ธ

and paste simply there in this folder -> httpd-vhosts

3rd Step go to windows C:\Windows\System32\drivers\etc and open hosts folder

4th step simply copy this

๐Ÿ‘‡

127.0.0.1 localhost

127.0.0.1 blog.co

And paste this folder

๐Ÿ‘‡

After stop your xampp apache server and start then

And start then Xampp Apache server

And run blog.co now you can see blog.co localhost set up is done.

Thanks …… ๐Ÿ™‚

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x