Get your API key

Lesson 4 of 5

Custom domain, DNS and HTTPS

Buy a .in domain, add A and CNAME records from Vercel, check them with nslookup or dig, and get HTTPS for free.

10 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson your app will open at your own domain, like sharmacoaching.in, over HTTPS, and you will be able to check DNS records yourself instead of waiting and guessing.

You need: a working production deployment, the URL sheet from Lesson 3, a payment method for the domain's yearly fee, and some patience: DNS changes can take a while · Time: 10 minutes

  1. A domain is the name people type, like sharmacoaching.in. You do not buy it forever: you rent it, usually per year, from a registrar (a company allowed to sell domain names).

    • .in domains are sold by registrars accredited by the .IN Registry. The official list is on registry.in. Many global registrars sell .in too, and Vercel can sell you a domain directly.
    • Compare the renewal price, not only the first-year offer. Prices change often, so check them on the registrar's own page.
    • You only need the domain. Vercel hosts the app, so skip the registrar's hosting, website builder and similar add-ons.
    • Turn on auto-renew and write down the expiry date. An expired domain takes the whole app offline.
    • The registrar may ask for an identity check (KYC) before the domain becomes active.
    Careful

    Buy the domain in the owner's account. If the fee tracker belongs to Sharma Coaching, the domain should be in the institute's own registrar account, not yours. Also remember from Test and go live: Vercel's free Hobby plan is for personal, non-commercial use, so a business app needs a paid plan.

    Why?

    The domain is the one thing users remember. Whoever controls the registrar account controls the business's address on the internet, so it must sit with the owner.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. DNS in plain words
  2. Add the domain in Vercel
  3. Add the records at your registrar
  4. Check DNS yourself
  5. HTTPS comes free, once DNS is right
  6. Recap