Go Live Checklist
Follow the go-live checklist to ensure you have everything ready to get your site up and running quickly on Kinsta’s Static Site Hosting. If you run into any problems or have questions, our Support team is available 24/7, and we’re happy to help.
To help you get started with Static Site Hosting, you can use one of our example templates on GitHub.
1. Git service provider
You must ensure your site has been pushed to a Git repository. When you add a static site in MyKinsta, you must select a Git service provider and repository from your account. You can choose from any (or all) of the following:
2. Build command and Publish directory
The Build command and Publish directory are optional; however, if your site depends on a build step, you must populate these fields when you add your static site. The Build command tells our system how to assemble your site, and the Publish directory is the subdirectory where the finished site files live, relative to the root of your repository. If the Build command is left blank, the site will still deploy, but it will only upload the unbuilt contents of your repository.
We automatically populate the Build command and Publish directory from the package.json
or yarn.lock
files if you’re using one of the following frameworks:
- Astro
- ElderJS
- Gatsby
- Next.js
- Nuxt
- React
3. Environment variables
Ensure you have all of the required environment variables for your site. Environment variables feed your site information from outside your site’s code. They typically set things like API keys.
4. Add your domain to Kinsta
After you’ve confirmed your site is all good, it’s time to go live with your custom domain. Check out our Static Site Hosting Domains guide.