Founder Guide
Connect Your Own Domain (e.g. axomed.pk)
Step-by-step, non-technical. You need two things before starting: (1) access to your domain registrar (where you bought the domain — e.g. Namecheap, GoDaddy, Cloudflare, pknic) and (2) the ability to edit DNS records (A records / CNAME). No coding required.
Good news: you do NOT need to build anything new. The AXOMED frontend is already hosted (permanent URLs) and the backend is already running. Connecting a domain is just pointing your domain name at those existing servers using DNS.
Before you start — what you need
- Domain: e.g. axomed.pk (registered at any registrar; .pk domains are registered via pknic-approved registrars).
- Registrar/DNS login: the account where your domain lives — usually has a "DNS Management" or "Advanced DNS" panel.
- Optional: a Cloudflare account (free) if you want the fastest + safest way to manage DNS.
Option A — Point the domain to the AXOMED frontend (website)
This makes visitors who type axomed.pk see the AXOMED landing page + all portals.
Step 1 — Choose where the site is hosted
The AXOMED frontend is a set of static HTML files. Static hosting services that give you a clean custom domain (free or cheap):
| Service | What you get | Cost |
| Netlify | Drag-and-drop upload + custom domain wizard | Free tier |
| Vercel | Deploy from folder + custom domain | Free tier |
| Cloudflare Pages | Fast global CDN + free SSL | Free tier |
| Teamily static hosting (current) | Permanent URL, already live | Included |
If you want axomed.pk exactly, Netlify/Cloudflare Pages are the simplest. We can push the v19 folder there for you in one step.
Step 2 — Create the DNS records (do this at your registrar)
In your registrar's DNS Management panel, add these exact records (these are Netlify's standard values — copy them as-is):
| Type | Name/Host | Value/Points to |
| A | @ (root, e.g. axomed.pk) | 75.2.60.5 |
| CNAME | www | axomed-v19.netlify.app |
Important: after adding these records, open Netlify → your site → Domain settings → Add custom domain, type axomed.pk (and www.axomed.pk). Netlify verifies the DNS and auto-provisions the SSL certificate (https://) — you don't need to buy or install any certificate yourself.
Step 3 — Add the domain in the hosting service
- Log in to Netlify/Vercel/Cloudflare Pages → your site → Domain settings.
- Click Add custom domain and type axomed.pk (and www.axomed.pk).
- They verify DNS (this takes a few minutes to 24 hours).
- SSL (https://) is enabled automatically.
Step 4 — Wait & test
DNS changes propagate in 30 minutes to 48 hours (usually under 2 hours). Then open https://axomed.pk — you should see the AXOMED landing page. If it doesn't work after 48h, send us your DNS panel screenshot and we'll spot the issue.
Option B — Point a subdomain to the AXOMED backend (API)
Optional — only needed when the backend is deployed to Railway with a real database. This gives you api.axomed.pk for the backend instead of the long Railway URL.
Step 1 — Deploy backend on Railway
Requires the Railway rly_ token + Supabase credentials (as discussed). Once deployed, Railway gives you a URL like axomed-production.up.railway.app.
Step 2 — Add the domain in Railway
- Railway → your service → Settings → Networking → Generate Domain (get the .up.railway.app URL).
- Click Custom Domain → enter api.axomed.pk. Railway shows you a DNS value to add.
Step 3 — Create the DNS record
| Type | Name/Host | Value/Points to |
| CNAME | api | axomed-production.up.railway.app |
Note: Railway handles the SSL certificate automatically once the CNAME resolves.
Cheat sheet — all DNS records in one table
| Purpose | Type | Name | Value |
| Website (root) | A | @ | 75.2.60.5 (Netlify) |
| Website (www) | CNAME | www | axomed-v19.netlify.app |
| Backend API | CNAME | api | your-service.up.railway.app |
That's it — 3 records total. Everything else (email, etc.) can stay untouched.
What we can do for you: push the v19 frontend to Netlify/Cloudflare Pages with the custom domain already configured, prepare the exact DNS values for your registrar, and wire the backend subdomain once Railway is live. Just share your domain registrar login type (Namecheap / GoDaddy / Cloudflare / pknic) and we'll give you the exact copy-paste values.