php artisan serve --port=80
This will only work if you don't already have something (i.e. Apache) running on port 80.
Why bother for a tutorial? If you're that hung up on it, you might as well quit using artisan serve, install Apache and configure a VirtualHost.
I suppose that you can edit your hosts file and add test.com as an alias for 127.0.0.0.0
artisan serve
uses the php build-in server and it is equivalent to
php -S localhost:8000 -t public
you can find more options in php documentation...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community