Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lara50617's avatar

Current

Hello,

I use Forge and Envoyer. Envoyer uses the current directory from the default site. But as I added another domain as default (in Forge) and deleted the default site now the code deployments aren't reflected in the new site.

So it looks like this now: In /home/forge in the "forge" directory are the "default" and the "new_domain".

In the "default" are "current" & "releases" In "current" are the newest files I deployed with a public directory. So /home/forge/default/current/public/index.php

In the "new_domain" there is a "current" and in there "Public" with the standard index.php from forge with <?php phpinfo(); which is what the domain shows. So /home/forge/new_domain/current/public/index.php/<?php phpinfo();

How do I get the new domain reflect the info from the "/home/forge/default/current/public/index.php"?

Best, Luc

0 likes
2 replies
lara50617's avatar

If I just delete the default folder in the "forge" directory it probably just breaks it all as Envoyer than can't find that anymore. But it should have been "redirected" when I changed the default domain.

ejdelmonico's avatar

You can not use the default website directory in Forge if you plan to use SSL or multiple sites. Remove the default directory and redeploy your site to named directory.

Please or to participate in this conversation.