Deploy an app built with Claude Code to your own domain

Claude Code writes the app. Getting it live still needs a domain, DNS, hosting, a database, email and payments. The order that works, and what can be automated.

Simon, Founder of Shipyard

By · Founder of Shipyard

2 minute read

The short answer

To put an app built with Claude Code online you need seven things in this order: a domain, a DNS zone, a code repository, a hosting project connected to it, a database, a verified sending domain for email, and a payment product with a webhook. Then every key goes into the host as an environment variable and you test the app as a new customer would.

Claude Code can write the code for all of it. It cannot create the accounts, buy the domain or click through the provider dashboards for you, unless you give it a tool that does those steps through the providers' own interfaces.

Step 1: domain and DNS

Register the name at a registrar such as Cloudflare Registrar or Namecheap, in an account you will keep. Put the DNS zone at Cloudflare. Everything later, the site, email and payments, depends on records in this zone, so do it first.

Step 2: repository and hosting

Push the code to a GitHub repository. Create a project at Railway or Vercel, connect it to the repository so every push deploys, and add your domain to the project. The host tells you which DNS record to create; create exactly that and wait for the certificate.

Step 3: database

Create Postgres on the host or at Supabase and put the connection string in the host as DATABASE_URL, or under whatever name your app reads. Check your .env.example: if the app expects POSTGRES_URL and you set DATABASE_URL, it will not connect, and nothing tells you why.

Step 4: email that arrives

Add the domain at an email service such as Resend and create the SPF, DKIM and DMARC records it lists. Until the domain is verified, sign-up and password emails land in spam or are refused. Set the sender address in the variable your app reads.

Step 5: payments

Create the product and prices in Stripe test mode, and a webhook that points at your real domain. Put the secret key, the webhook signing secret and the price ids in the host. A wrong signing secret is the most common reason a payment succeeds while the account stays unpaid.

Step 6: test as a stranger

Letting Claude Code do the setup too

Claude Code supports MCP servers, which give it tools beyond writing files. Shipyard is one: a program on your own computer with an MCP server that Claude Code can call. You connect your provider accounts once with tokens that stay in your keychain. Then you ask Claude Code to launch the product; it shows the plan and the price of the domain, waits for your confirmation, and runs every step above.

Afterwards Claude Code gets a build prompt describing exactly which services exist and which variables hold which keys, so it writes the app against the real setup instead of guessing.

Launch in an hour, not a weekend

Shipyard connects your accounts once, then sets up the domain, hosting, database, email and payments for every new product.

See how it works

Read next