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

packy's avatar
Level 7

Delete Default Site

I have set up my server on forge and now have my 2 domains attached (so there is default, mysite.com and dev.mysite.com). Do I now delete the "default" site? All the my repos are hooked up and databases. The reason I ask is some commands I made to schedule emails have been using the url() function and it returns the default env settings and not mysite.com ones so I think I should delete the default site. Just want to make sure that doesnt mess anything up.

0 likes
2 replies
ejdelmonico's avatar
Level 53

Yes, delete the default site. The default site is just that, the default. If not using it, which you can't with SSL, you delete it. The nginx config will point to the correct sites if made through the Forge panel.

2 likes
packy's avatar
Level 7

Perfect. I just did it and my site seems to be fine. Just wasnt sure if anything would be lost by deleting it.

Please or to participate in this conversation.