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

UhOh's avatar
Level 7

Tip: Forge + AWS Lightsail + SSL / HTTPS

Ok, so using 'Custom VPS' in Forge, I setup a Lightsail instance. I got stuck because SSL wouldn't work. Since I pretty much suck at networking stuff, it took a while to figure this out. But if you use an SSL / HTTPS certificate, you need to go to the Lightsail instance and open port 443. This is very easy to do in Lightsail instance by going to the Networking tab and adding HTTPS port 443 to the Firewall section. Worked instantly, my site started responding to https.

0 likes
2 replies
UhOh's avatar
Level 7

Further tip: Forge requires Ubuntu 20, however Lightsail is still on Ubuntu 18. But seems to work just the same, Forge.sh setup script no obvious issues.

Please or to participate in this conversation.