← All guides
SSL setup guide
Set up SSL and HTTPS for your AI-built app
VPSNext.jsDomain
Short answer
Your app serving over HTTPS with a valid SSL certificate that auto-renews.
Why this matters
Your app works on HTTP but browsers warn visitors it is not secure, and some features require HTTPS.
Walkthrough
- 01
Point your domain to the server
SSL requires the domain to resolve to the server before you can request a certificate.
- Add an A record from your domain to the VPS IP.
- Wait for DNS propagation (up to 24 hours).
- Verify the domain resolves to the server IP.
- 02
Request and install the SSL certificate
Use Let's Encrypt or your deploy panel to get a free SSL certificate.
- Use Certbot or your deploy panel built-in SSL feature.
- Configure the certificate for both www and non-www domains.
- Set up automatic renewal so the certificate does not expire.
- 03
Force HTTPS and test
Redirect all HTTP traffic to HTTPS and verify everything works.
- Configure HTTP to HTTPS redirect on the server.
- Test that all pages, API routes, and assets load over HTTPS.
- Verify the SSL certificate chain is valid with an online checker.
Where RepoAssistant fits
RepoAssistant sets up SSL with HTTPS and auto-renewal during AI app deployment.