Note: This example is derive from the answer from (stackoverflow)[https://stackoverflow.com/questions/35976448/how-to-access-laravel-homestead-on-other-devices#43144708] by @totymedli. The purpose of this gist is for my personal referrence but everyone is welcom :) just give the credit to the real author.
Let say, in your server computer where you host your laravel project you have the following IP Address
mapping in your host
file:
192.168.10.10 poinOfSale.dev
192.168.10.10 invertory.dev
And let say that the server IP Address
is 192.168.0.204
.
Just copy the rows above to the remote computer's host file and change the IP Address
the server's IP Address
which in our
example is the 192.168.0.204
. see below:
192.168.0.204 poinOfSale.dev
192.168.0.204 invertory.dev
Then you can access the server by typin on ther remote computer the following
poinOfSale.dev:8000
invertory.dev
Thats all!!