--- # How to Connect a Custom Subdomain from Porkbun to a Third-Party Service Using Cloudflare for DNS and SSL ### 1. **Registered my domain** at Porkbun - My base domain is `wujackson.com`. --- ### 2. **Created a free Cloudflare account** - Cloudflare will manage my DNS and handle the SSL certificate. --- ### 3. **Added my domain to Cloudflare** - Went to Cloudflare → clicked **"Add Site"** → entered `wujackson.com`. - Cloudflare scanned my existing DNS records. --- ### 4. **Changed my nameservers in Porkbun** - Logged into Porkbun → clicked **“Details”** on my domain. - Found the **"Nameservers"** section. - Replaced Porkbun’s default nameservers with Cloudflare’s: - `eoin.ns.cloudflare.com` - `kenia.ns.cloudflare.com` - Saved the changes. --- ### 5. **Waited for DNS propagation** - Took ~5–30 minutes for Cloudflare to detect the change and activate. --- ### 6. **Added a DNS record in Cloudflare for my subdomain** - Went to **DNS tab** in Cloudflare. - Added a **CNAME** record: > Target: publish-obsidian.md something like that. --- ![[Pasted image 20250322200420.png]]![[Pasted image 20250322200507.png]]