Hello Laravelians,
There is no problem in the above configurations.
In the host machine in the /etc/hosts file I simply incremented ip from 192.168.10.10 to 192.168.10.11. This is completely wrong. If you want the website to show it should be exactly the same as mentoned in the Homestead.yaml file 192.168.10.11. Just keep adding same address to all your Laravel app.
While I concentrated much on the configuration/database file there is a secret .env file in the project root directory. I should have mentioned the database name and credentials there too, for enabling Laravel to see the database.
Thats all. Now everything working fine.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community