- Published on
How to setup vercel domain with google domain
- Authors
- Name
- Sean Wang
- @firemousefish
Problem: Vercel is a platform to easily deploy and host the nextjs code. if you use Vercel domain, it's very easy to config. if you already have a google, it requires some extra step to configure it.
Solution:
- In settings tab, Domain, type your google domain and click add button:
![settings](/_next/image?url=%2Fstatic%2Fimages%2Fdomain_config%2Fsetting1.png&w=1200&q=75)
- Normally just use the default config, and click done.
![domain](/_next/image?url=%2Fstatic%2Fimages%2Fdomain_config%2Fdomain1.png&w=1080&q=75)
Now you will see both the domains shows
Invalid configuration
and then next step is to config the google domain.Go to your google domain account, go to DNS - Custom Record, click Manage Custom Record button, you will see something as below:
![google](/_next/image?url=%2Fstatic%2Fimages%2Fdomain_config%2Fgoogle_setting.jpg&w=1200&q=75)
Copy the relative
Ipv4
andDomain name
content from vercel domain settings to google domain settings. Notice: the default google record should only have one row, you need to add a row and set type toCNAME
It takes some time for vercel to apply the new settings, and once it finish, it will auto generate a certificate. π