0
I have a domain on the server where I uploaded an application in Laravel. I created a subdommunication and I went up the same application for this domain, but Ubdomain is looking for the same information. env, which is at the root of the project (main domain). I would like to be able to set the information to another file . env to the domain, so that the applications are distinct from each other.
You pointed out everything in the same folder?
– novic
The same application q went up in the main domain, I went up in the Domain, but I want the Domain application to take different database information
– Edinho Rodrigues
I’m asking if you’re in the same folder? if it’s a different folder, just change the values
.env
!– novic
Take a look at the image there, brother. The subdomain application is in another folder, but it accesses the . env q is in the root folder (main domain)
– Edinho Rodrigues
Then it is set wrong. Must be independent applications !!! really with this will share the same information ...
– novic
Yes, I seek to know how to do for two Laravel applications in the same domain, but in different folders access the . env different
– Edinho Rodrigues