Porkbun DNS Configuration for GitHub Pages
Step-by-Step Instructions
1. Login to Porkbun
Go to porkbun.com and login to your account.
2. Access DNS Settings
- Click on your account name (top right)
- Select “Domains” from the dropdown
- Find
joelvzach.comin your domain list - Click the “DNS” button (or “Manage DNS”)
3. Add/Update DNS Records
Add the following records. Remove any existing conflicting records (especially any existing A records or CNAME for @ or www).
| Type | Host | Value | TTL |
|---|---|---|---|
| A | @ | 185.199.108.153 | Default |
| A | @ | 185.199.109.153 | Default |
| A | @ | 185.199.110.153 | Default |
| A | @ | 185.199.111.153 | Default |
| CNAME | www | joelvzach.github.io | Default |
4. How to Add Each Record
For each record:
- Click “Add Record” or the “+” button
- Select the Type (A or CNAME)
- Enter the Host (@ or www)
- Enter the Value/Answer (IP address or domain)
- Leave TTL as “Default” or “Auto”
- Click “Save” or “Add Record”
5. Remove Conflicting Records
If you see any of these, delete them:
- Existing A records for
@pointing to other IPs - Existing CNAME for
wwwpointing elsewhere - Any URL forwarding/redirects for joelvzach.com
6. Verify CNAME File
Make sure the CNAME file in your repository contains:
joelvzach.com
(Already configured in the repo)
7. Enable GitHub Pages
- Go to your repo:
https://github.com/joelvzach/joelvzach.github.io - Click Settings (top tab)
- Click Pages (left sidebar)
- Under “Source”, select:
- Branch:
main - Folder:
/ (root)
- Branch:
- Click Save
8. Wait for Propagation
- DNS changes: 15-30 minutes (can take up to 48 hours, but usually fast with Porkbun)
- GitHub Pages build: 1-2 minutes
9. Verify Setup
- Visit
https://joelvzach.github.io- should show your site - Visit
https://joelvzach.com- should show your site (after DNS propagates) - Both should work interchangeably
10. Enable HTTPS (Automatic)
GitHub Pages automatically provides HTTPS via Let’s Encrypt. After DNS propagates:
- Go back to Settings → Pages
- Check “Enforce HTTPS” (once available)
- Your site will be accessible at
https://joelvzach.com
Troubleshooting
Site not loading at joelvzach.com
- Wait 15-30 minutes for DNS propagation
- Clear browser cache or try incognito mode
- Use
dig joelvzach.comor whatsmydns.net to check DNS propagation
GitHub Pages shows 404
- Verify GitHub Pages is enabled in Settings → Pages
- Check that files are in the
mainbranch root directory - Look at GitHub Actions tab for build errors
SSL certificate not working
- Wait a few hours after DNS propagation
- GitHub auto-provisions SSL certificates
- Ensure “Enforce HTTPS” is checked in Pages settings
Quick Reference
GitHub Pages IPs:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
CNAME for www:
joelvzach.github.io
Links:
- Porkbun DNS: https://porkbun.com/account/domains
- GitHub Pages Settings: https://github.com/joelvzach/joelvzach.github.io/settings/pages
- DNS Propagation Check: https://whatsmydns.net