Panduan setup subdomain

setelah DNS AKTIF, sambungkan hostname ini di platform tujuanmu

Penting: DNS AKTIF berarti AICLUB sudah membuat record DNS. Custom domain dan HTTPS tetap harus dikonfigurasi di platform tujuan. Untuk CNAME, isi hostname saja tanpa https:// atau path; A Record memakai IPv4 publik; Redirect memakai URL lengkap.

Vercel

This is the tested Vercel flow for a subdomain already claimed at AICLUB.

1. Create and deploy the Vercel project

In Vercel, select New Project. Upload with Vercel Drop or connect your repository, choose a project name, then select Deploy.

Vercel New Project screen with Vercel Drop files and Deploy button.
Example: create a Vercel project from uploaded website files.

2. Confirm the production deployment succeeded

Wait until Vercel shows Congratulations or Ready, then select Continue to Project.

Vercel Congratulations screen after a successful deployment.
The project must deploy successfully before adding the custom subdomain.

3. Open Domains for the project

On the project Overview, select the + beside Domains or open Domains from the project navigation. You can also use Add Custom Domain from the checklist.

Vercel project Overview showing the Domains control and Add Custom Domain option.
Open the project domain settings after the production deployment is ready.

4. Add your AICLUB subdomain

Enter the exact subdomain you claimed at AICLUB, for example yourname.aiclub.ai.id. Keep Production selected, then choose Add Domain.

Vercel Add Domains dialog with a claimed AICLUB subdomain entered for Production.
Use the exact claimed hostname, not the Vercel project hostname.

5. Copy Vercel's required CNAME value

Vercel may first show Invalid Configuration. In DNS Records, copy the complete value shown in the CNAME row. This value is unique to the domain verification request.

Vercel DNS Records showing the CNAME value required to verify a custom subdomain.
Copy the CNAME Value exactly as Vercel displays it.

6. Save the CNAME in AICLUB and verify

In the matching AICLUB claim, choose CNAME, paste the Vercel value as the Target, and save. Do not add https://, a slash, or a path. Wait for DNS to update, then return to Vercel and select Refresh if needed. The setup is ready when Vercel shows Valid Configuration.

Vercel domain row showing Valid Configuration for a custom subdomain.
Final state: Vercel confirms Valid Configuration for the production domain.

Netlify

  1. Buka site di Netlify → Site settings → Domain management.
  2. Tambahkan namamu.aiclub.ai.id sebagai custom domain.
  3. Untuk DNS eksternal, gunakan hostname site seperti site-name.netlify.app sebagai target CNAME di AICLUB; tanpa scheme atau path.
  4. Setelah DNS AKTIF, kembali ke Netlify dan selesaikan verifikasi.
  5. Netlify menerbitkan SSL otomatis setelah domain mengarah dengan benar.

Cloudflare Pages

  1. Buka project Pages → Custom domains → Set up a custom domain.
  2. Tambahkan namamu.aiclub.ai.id.
  3. Gunakan hostname project seperti project.pages.dev sebagai target CNAME di AICLUB; tanpa scheme atau path.
  4. Biarkan CNAME platform berstatus DNS-only; jangan aktifkan proxy Cloudflare untuk record ini.
  5. Jika muncul peringatan zone/account, lanjutkan verifikasi CNAME tanpa memindahkan nameserver. Tunggu custom domain dan SSL aktif.

GitHub Pages

  1. Buka repository → Settings → Pages.
  2. Pastikan site sudah dipublikasikan, lalu isi Custom domain dengan namamu.aiclub.ai.id dan Save.
  3. Target CNAME AICLUB harus hostname default seperti username.github.io; jangan tambahkan /nama-repository atau https://.
  4. Tunggu DNS check menunjukkan status berhasil.
  5. Wajib: aktifkan Enforce HTTPS. Setup belum selesai sebelum opsi ini tercentang.
  6. Gunakan verifikasi domain TXT GitHub bila tersedia agar domain tidak dapat diambil pihak lain.
  7. Jika Enforce HTTPS belum tersedia, tunggu verifikasi domain dan sertifikat selesai sebelum membagikan URL.
Pengaturan GitHub Pages dengan custom domain terverifikasi dan Enforce HTTPS aktif.
Contoh: custom domain sudah terverifikasi dan Enforce HTTPS sudah aktif.

VPS atau server sendiri

  1. Gunakan A Record dengan IPv4 publik saja; jangan masukkan URL, port, atau path.
  2. Pastikan firewall/security group dan router membuka TCP port 80 dan 443.
  3. Atur virtual host/server_name untuk namamu.aiclub.ai.id.
  4. Untuk static site Caddy, gunakan root * /var/www dan file_server; untuk aplikasi, gunakan reverse_proxy 127.0.0.1:4000.
  5. Pasang TLS dan uji dari luar server. Caddy dapat menerbitkan HTTPS otomatis setelah DNS dan port siap; Nginx biasanya memakai ACME/Certbot.

Sources and review date

Last reviewed: 2026-10-25. Primary setup documentation: Cloudflare Pages, Vercel, Netlify, and GitHub Pages. Terakhir ditinjau: 2026-10-25; sumber utama adalah dokumentasi resmi penyedia di atas.