-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e94d8d
commit 9625b1c
Showing
5 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Vercel Domain | ||
|
||
Vercel服务域名绑定,添加DNS解析支持国内访问。 | ||
|
||
## 添加域名 | ||
|
||
在Vercel项目中,点击`Settings`,在`Domains`中添加域名。 | ||
|
||
比如我自己现有的域名为[datahonor.com](https://datahonor.com), | ||
这里我想把Vercel的服务链接到`calvino.datahonor.com`上,直接在`Domains`中绑定`calvino.datahonor.com`即可。 | ||
|
||
![](image/domain.jpg) | ||
|
||
## 添加DNS解析 | ||
!!! warning "`cname-china`" | ||
|
||
注意这里添加的记录值为`cname-china.vercel-dns.com`,而不是`cname.vercel-dns.com`。 | ||
|
||
域名解析[^1]添加CNAME记录,将`calvino.datahonor.com`解析到`cname-china.vercel-dns.com`, | ||
[^1]: 这里以阿里云域名解析设置为例,其他域名解析服务商类似。 | ||
|
||
![](image/dns.jpg) | ||
|
||
等待DNS解析生效后,即可通过[calvino.datahonor.com](https://calvino.datahonor.com/)访问Vercel服务。 | ||
|
||
|
||
## 其他 | ||
|
||
### 新增解析记录解析多久可以生效? | ||
实时生效[^2] | ||
|
||
[^2]: 来自阿里云文档[新增解析记录解析多久可以生效?](https://help.aliyun.com/document_detail/39837.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters