Your own domain

09·Hands-on·12 min

Your app already has a live address. A domain of your own, like shop.example.com, puts the same app behind a name you chose.

Three ways to get a name

On Domain & hosting, open Manage Domains and choose one under Add an address:

  • I have one: a domain from another company, once a couple of settings are copied there,
  • Free custom URL: a subdomain of dontcode.cafe, which works right away, or
  • Buy new: a new name bought on DontCode, which opens on your project once it reaches the internet, usually within the hour.

Domains work on every plan. Free addresses are counted across your projects, and how many you get depends on your plan. If you ever hold more than your plan includes, say after a downgrade, they all keep working for 30 days before the newest come off.

Only the project owner can buy or connect a domain, since it is theirs to pay for. An admin can still add a free address, choose the main address with Make primary, or remove one.

Buying a name on DontCode

Type the name you want. Every ending (.com, .app, .shop and more) is checked at once, and each free name shows its yearly price in won. Korean endings (.kr, .co.kr) show whether a name is free, but cannot be bought here yet. Buy, and you pay for the first year on a payment page. There is nothing to paste: once it is paid, DontCode registers the name, points it at your app and sets up the padlock. If the name cannot be registered, your payment is refunded in full.

A new name takes a little while to reach the internet, usually under an hour. Until then your app keeps its current address, and you get an email the moment the new one opens.

Every purchase gets a numbered receipt by email, also listed under Payments in Billing.

Your Domains page

Every name you bought on DontCode lives on Domains, in your account menu. Each one has a card showing:

  • where it goes, picked under Goes to: one of your projects, moved there in one step, or, depending on your plan, another web address it forwards visitors to,
  • when it renews and what the renewal costs,
  • an Automatic renewal switch,
  • Send to another account, to give it to someone else.

Below the cards, Receipts lists every charge and refund for your domains. You can also search and buy from this page, then decide on a project later. A name is not tied to the project it was bought for.

To give a name away, choose Send to another account and enter the email of their DontCode account. You can take it back until they accept. Once they do, it is theirs for good: they pay its renewals, and it stays connected to its project until they move it. Handing a whole project to a new owner on Team can send its domains along in the same step.

Renewals

A domain is paid for a year at a time, and its card shows the renewal date. You do not have to remember it:

  • 45 days before your year ends, you get an email with the price and the renewal date.
  • On the renewal date, 35 days before your year ends, the renewal is charged to the card on your DontCode plan and you get a receipt.
  • If there is no card on your plan, or it is declined, those 35 days become a grace period. The domain keeps working, its card says Payment due, and each reminder email has a link to pay the renewal. Pay it and it renews within minutes.
  • A name still unpaid when the grace period ends stops working, and anyone can register it. The app itself stays online at its free address.

Turning off Automatic renewal keeps the name live and connected until the end of the year you paid for. You can turn it back on any time before then.

Connecting a domain you already own

If you bought the name somewhere else, add it in Manage Domains. It shows one or two records: short lines of settings. Copy them, exactly as shown, into the domain settings at the company you bought the domain from. They tell the internet that your name should open your DontCode app. Your domain reads Needs setup until DontCode sees the records and verifies them.

A name bought elsewhere stays with that company: its renewals are paid there, not to DontCode.

Why it can take a while

New domain settings spread across the internet in stages, so they can take minutes to a few hours to work everywhere. Until then it is normal for your domain to open on your phone but not yet on your laptop: the laptop is still remembering the old answer. Give it time and it catches up.

Handled for you

You pick the name and, for a domain bought elsewhere, paste the records. Everything else is done for you: sending visitors to your app, and the padlock (https), which DontCode sets up and renews for every domain. Every domain shows the same live version, so each new build reaches all of them at once.

Check your understanding

  1. 1.What do the records Manage Domains shows you actually do?

  2. 2.You added the records ten minutes ago. Your site opens on your phone but not on your laptop. What is going on?

  3. 3.Your app is served on three domains. A new build finishes. What do the other two domains show?

  4. 4.You bought a name on DontCode from inside your project. What do you still need to copy to another company?

  5. 5.Today is your domain's renewal date and the card on your plan is declined. What happens?

  6. 6.Your co-founder is an admin on your project. What can they not do in Manage Domains?

  7. 7.You bought a name for one project and now want it on another. Where do you move it?

Your task

Insight Project

On Domain & hosting, open Manage Domains and add an address: a free dontcode.cafe address, a domain you buy there, or one you already have. The check passes once the address is added.