hey everyone, i just started with drupal and i want to set it up with lando, the problem is when i do > lando start , the app starts up correctly, but the APPSERVER URLS are all red and i get a Not Found message when i want to open the pages.

How can i fix this?

Comments

mitpatoliya’s picture

Probably problem with access for system user.

kimble’s picture

I am having the exact same problem. I have other local sites that run fine when started, but this one site, the only one using 'Drupal 9' recipe, fails in this way.

All the APPSERVER URLS are red and none of them work.

kimble’s picture

I feel pretty stupid but it turns out if the APPSERVER URLS you are trying to use are not already set up in your $settings['trusted_host_patterns'] array, then this will happen.

pablo.fredes’s picture

Thank you! kimble
That did it for me!!

I feel pretty stupid but it turns out if the APPSERVER URLS you are trying to use are not already set up in your $settings['trusted_host_patterns'] array, then this will happen.

kimble’s picture

This time turned out to be that Lando (or Drupal) doesn't like it if I make my database name the same as my site name. I did not get an error saying so but eventually discovered this post: https://github.com/lando/lando/issues/3547, where one user explained:

"This is almost always a problem with your application. You can check lando logs to see if a problem is reported there."

In my case it was lando logs command that put me on the right track to the naming thing. Just goes to show I should spend more time reading documentation (-: