Apiway

App Factory

Put your app or site on your own domain

How to open an App Factory app or site on your own domain or subdomain: one CNAME record, a free certificate issued by Apiway, and the whole setup done in a chat with your agent — ChatGPT, Claude, Codex or Cursor. Includes the official instructions of each DNS provider and the rules an agent follows.

Last updated

A published App Factory app or site can open on your own address, for example app.yoursite.com or yoursite.com. It takes one DNS record. The security certificate (https) is issued by Apiway by itself: there is nothing to buy and nothing to set up. You can do all of it in a chat with your agent, without opening Apiway.

In short

  • One record: a CNAME on your address that points to Apiway. Your agent gives you its exact name and value.
  • A subdomain (app.yoursite.com) keeps the site you already have on yoursite.com as it is.
  • yoursite.com without www: the record goes on www.yoursite.com, and you turn on forwarding from yoursite.com to www.yoursite.com at your DNS provider.
  • New records show up in minutes, sometimes in a couple of hours. That is normal.
  • Once the address opens, the Apiway address of the app forwards to it.
  • The address opens the published version of the app. Publish it first, or ask your agent to.

In a chat with your agent

  1. Write: «Put my app on app.yoursite.com» (or yoursite.com).
  2. The agent connects the address and answers with the record. Where your DNS provider supports it, the agent gives a one-click link: you sign in at the provider and confirm, and the record is added for you.
  3. Otherwise, add the record at your DNS provider. Not sure what to do there? Send the agent a screenshot of your DNS page or paste your records: it says exactly what to add, change or delete.
  4. The agent checks the record and the certificate and gives you the link when the address opens.

Never give anyone the password of your domain account. The record is the only step that is yours.

Rules for the agent

  1. Call the address «Domain URL». Say it can be a domain or a subdomain, with the example app.yoursite.com or yoursite.com. Write in the person’s language, one question per message.
  2. Open the address before you connect it. If a site already works there, say that connecting replaces it and offer a subdomain. Go on only after a clear yes.
  3. Call set_code_app_domain with confirm: true. Use the record from its answer exactly. Give the one-click link first when the answer has one; otherwise walk the person through their provider’s own help page from the answer, or from the list below.
  4. If the person sends a screenshot or a list of DNS records, read it and name exactly which record to add, change or delete. Never ask for the provider’s password.
  5. Call get_code_app_domain with check: true. pending_dns: the record is not seen yet, check again a little later. pending_cert: the certificate is being issued by itself. active: give the link. failed: say the reason in plain words and what to fix.
  6. Not published yet: say that the Domain URL opens the published app, and publish only on the person’s clear yes.
  7. The person does not need to open the Domain panel in Apiway. Everything is done in the chat.remove_code_app_domain disconnects the address.

By DNS provider

Cloudflare

GoDaddy

Namecheap

Squarespace

Wix

Hostinger

Reg.ru

Beget

IONOS

Amazon Route 53

Porkbun

Vercel

Related docs