It's time to deploy this to a live server! But for this, we need a few things:
- Point a domain name to the server's IP address.
- Run a checklist to see that everything is up and ready.
- Do a silent launch to a few users to see if everything works.
So let's get started!
Pointing a Domain Name
Pointing a domain to our server requires you to access your DNS management tool. It can be one of:
- Go Daddy
- Namecheap
- Cloudflare
- etc.
In that tool, you have to create a DNS record that would point to your forge server IP address:
Once this is pointed out, we have to change the Site Domain
in Forge:
Visit your Forge, enter the server, and click on the site you want to deploy. Then click on the Settings
sidebar item:
Here, you have to change the Site Domain
to the domain you pointed to the server:
This will make our develop
server accessible via the domain name.
Now for production, there are two ways to do this:
- Create a new Server and point the domain to it. This is the...