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

ashitvora's avatar

How to create a site on Load Balancer server created using Forge?

I have a Load Balancer server created using Forge and I have 5 app servers behind that so requests are balanced between these 5 app servers.

My app allows the user to use their domain name so the approach I am taking is...

  • I ask the user to create an A Record and point their domain to my IP Address
  • Once the user has created the A Record, I manually create a site on the Load Balancer server and configure it to balancer load between all 5 app servers.
  • I then create and activate the SSL Cert created using LetsEncrypt

Now what I need to do is to automate last 2 steps.

I do not see any way to add a site to load balancer server in Forge APIs. Am I missing anything?

0 likes
2 replies

Please or to participate in this conversation.