Github Personal Website Dns Setup


Great! Since you’re using Blacknight in Ireland for your domain registrar, here’s how to connect your custom domain to your GitHub Pages site step by step:


Step 1: Configure DNS on Blacknight

A) Determine your control panel type:

  • If your account was created after June 2022, you’ll use the new interface at cp.blacknighthosting.com.
  • Otherwise, you’ll use the older panel at cp.blacknight.com (help.blacknight.com).

B) Log in:

  • For new interface: go to Domains → Manage DNS → Edit Zone for your domain (help.blacknight.com).
  • For older panel: go to Home → Hosted Domains → select your domain → Web → Remove Hosting, then switch to the DNS tab (help.blacknight.com).

C) Add the required DNS records:

  1. Add four A records for the root domain (leave the “Domain” field blank or use @):

  2. Add a CNAME record for the www subdomain:


Step 2: Add the Custom Domain on GitHub

  1. Open your repository on GitHub that hosts your Pages site.
  2. Go to Settings → Pages.
  3. In the Custom domain field, enter your full domain (example.com or www.example.com) and click Save.
  4. This action creates a CNAME file in the repository automatically (Medium, GitHub Docs).

Step 3: Wait for DNS Propagation & Enable HTTPS

  • DNS changes can take up to 24 hours to propagate fully (Medium, Reddit).
  • After propagation, return to your GitHub Pages settings and check “Enforce HTTPS” to secure the site.

Quick Recap

Step Action
1 Log in to relevant Blacknight control panel
2 Remove any hosting or forwarding
3 Add A records (four GitHub IPs) and CNAME for www
4 Add the custom domain in GitHub Pages settings
5 Wait for DNS to update, then enable HTTPS

Let me know if you’d like help navigating the Blacknight interface or screenshots for the new or old panel. Happy to guide you through any step!


Joker - Why So Serious?
Published under (CC) BY-NC-SA in categories tagged with