Randy_Johnson's avatar

Local Serve of Two Website

I want to

php artisan serve 

but I would like to serve two website so I can see how I have done something and make it better.

I am having a little trouble with this. Can one please advise.

0 likes
3 replies
JussiMannisto's avatar

Do you want to run two separate Laravel apps, or two different domains from the same app?

Snapey's avatar

run laravel serve for each but specify a different port (on the command line)

1 like
jlrdw's avatar

Also if this is for developing an API, I suggest nginx or apache.

Please or to participate in this conversation.