Deploy Multiple Laravel websites with Forge and Digital Ocean.
I'm subscribed to Laravel Forge and I've created a Digital Ocean droplet.
I want to deploy multiple websites with different domain names with Forge.
My first website was successful and I deployed it with Forge.
But I only have 1 ip address. Namely the public ip address of my droplet/server.
But I already use it for my first website.
Do I have to create a new droplet for every website in Digital Ocean in order to always get a new IP address?
Or can I deploy all Laravel websites under the heading sites in Forge under 1 ip address?
If so, how?
I do not get it. Can someone explain to me how I can solve this problem?
I've followed all the tutorials on Forge, but this topic is not covered and I don't have much server side experience.
In theory you can have 1000's of websites running on 1 server and one ip address.
In Forge you can create a "server" and a "site". You already have configured both for your first website.
You can create a new site for the same server in forge and point your new domain to the same IP address. The moment someone visits your new domain the server knows which site to show.
Thanks for your comment,
Then I had it right as I had in mind, but...
I had already read the documentation from Forge, but in combination with Digital Ocean it is still quite confusing when the DNS, Nameserver is registered with another provider.
Because of the SSL Certificate points to the same domain.
But i think i got it fixed.. I already have another site online. I moved the Nameservers/ DNS to Digital Ocean..