Support the ongoing development of Laravel.io →
Installation Configuration Database
Last updated 2 years ago.
0

Hello Laravelians,

There is no problem in the above configurations.

First, the index page not showing, error

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.

Second, the database not seen by Laravel issue

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

pannet1 pannet1 Joined 8 May 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.