iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🐷

Using a Porkbun Domain on Vercel

に公開

Porkbun is one of the standard choices for international registrars. Among others like GoDaddy, Namecheap, and Cloudflare Registrar, it is known for its affordability and straightforward pricing structure. In this post, I will briefly share how to set up a domain purchased there for a web service hosted on Vercel.

1. Adding the Domain in Vercel

Add your purchased domain in the Domains section of Vercel.

Vercel screenshot
Settings -> Domains -> Add Existing

Vercel screenshot

Vercel screenshot

It will show an error right after adding it, but that is not a problem.

Copy the Nameservers and let's open Porkbun.

2. Changing the Nameservers in Porkbun

In Porkbun, paste the copied values into the NS (Nameservers) settings.

Vercel screenshot
Click NS

Vercel screenshot

3. Verifying the Changes

Go back to Vercel to check.

You might have to wait a little while, but the error will disappear.

Vercel screenshot

Access it via your browser to confirm.

I was able to access it successfully.

Vercel screenshot

4. Conclusion

When using a domain purchased from a registrar with another hosting service, there are two main methods, and the one introduced here is method 2.

  1. Record modification (A, CNAME)
    → Domain management remains with the registrar, and only the destination is changed.
  2. Switching name servers (NS)
    → Changes the domain management itself.

Beginners don't need to worry too much about the difference. It's enough to compare the differences between the two once you start managing more registrars or hosting services and need to consider management efficiency or want to improve latency.

GitHubで編集を提案

Discussion