← All guides

8 min read

How to put an AI-built app online

Getting code from ChatGPT, Claude, Gemini or Copilot is the easy part. Getting it running on the internet, on your own domain, without exposing your passwords and keys, is where most people get stuck. This guide walks through it in plain language.

1. Work out what kind of project you have

Prompt for your AI tool

Look at my project and tell me in plain language: is it a static site, a front-end app, or a back-end server? Does it need a database? List every file that holds a password, API key or secret, and every setting it needs to run.

2. Get your secrets out of the code

AI tools often paste API keys and passwords straight into the code. Before anything goes online, move them into environment variables: settings your host keeps separately from the code. If a key was ever shared or committed, create a new one and delete the old.

Prompt for your AI tool

Move every API key, password and secret in my project into environment variables. Create a .env.example file listing their names without values, make sure .env is in .gitignore, and tell me which keys I should replace with new ones.

3. Put the code on GitHub

Most hosts deploy straight from a GitHub repository, and every change you push goes live automatically. Make the repository private if the code isn't meant to be public, and double-check no .env file was uploaded.

4. Choose where it runs

5. Connect your domain and HTTPS

Buy a domain from any registrar, then add the DNS records your host tells you to. The hosts above issue the HTTPS certificate for you, usually within minutes. Point both yourdomain.com and www.yourdomain.com at the site.

6. Check it before you share it

When to get help

If you're not sure what kind of project you have, it uses a database or payments, or you've been stuck for more than an evening, it's usually faster to hand it over. Vern Launch sets everything up in accounts you own, for a fixed price agreed before we start.