Deploy to production doesn't work

Hello, I cannot deploy to production I have this error:
forestadminerror
my server is working fine and the .env is not detected by forestadmin

What can be done to solve this problem?

Hi @dsdanny :wave:

Could you check your server logs? You should see a call (or at least a call attempt) from Forest Admin UI. Also, is there something special to know about your server configuration? (about security, installation, access, …)

.env is not detected by Forest Admin

Could you explain what you mean? The .env file itself is not visible via Forest Admin UI. It is used by your server when it is initialized. Does this file actually exist on your production server (you could also have used environment variables)?

One more question: is your server responding to Forest Admin at the URL root level? (when I go to the URL https://admin.betsurvivor.com/, I only see a response by apache about an empty server, you should see the “your application is running” message).

Problem fixed. I had to redirect my subdomain to the right port and activate the ssl certificate

<VirtualHost *:80>
    ServerName subdomain.yourdomain.com
    ProxyPreserveHost on
    ProxyPass / http://localhost:3310/
</VirtualHost>
2 Likes