当前位置:网站首页>Host your own website with Vercel
Host your own website with Vercel
2022-08-02 04:36:00 【GentleTK】
Whether you want to have a blog of your own, or you want to publish your own small project to the outside world for everyone to access, Vercel is definitely an affordable option.
Note, make sure you have Git and Node.js installed before using Vercel.
1 Sign up and install
First go to Vercel official website to register an account, now registering new users must use GitHub, GitLab or BitBucket account to authorize and bind the mobile phone number. After registration, you can modify your email address on the configuration page.
# Install Vercelnpm i -g vercel# Log in to Vercel, vc is the abbreviation of Vercel, you can also use Vercel insteadvc login YourEmailAddressVercel will send an email to your mailbox, after confirmation, you can log in:


2 Publish your website/project
# Post site/projectvc --prodThe project configuration is basically all the way to enter. My project here is a small game of synthesizing a big watermelon:

After publishing, you will get two URLs, just open one and you can enter the game, but this URL does not look particularly elegant. If you have a domain name, you may wish to set it up with me.
Synthetic large watermelon URL 1
Synthetic large watermelon URL 2
3 Bind your domain name
If you have a domain name, you can bind it to Vercel:
# Bind your own domain namevc domains add YourDomainsAfter running the command, you may be prompted to enter a project name (my project name is daxigua):

According to the prompt information, Vercel let us change the server address of DNS resolution and send an email to us. According to the email prompt, there are two ways to achieve the goal:
# Method 1@ A 76.76.21.21# Method 2ns1.vercel-dns.comns2.vercel-dns.comI directly choose the first one here, first enter the console where the domain name is purchased, then find the DNS resolution service, and add a record set:

After the configuration is complete, you will receive an email prompting you to use the vc --prod command on the terminal to publish it again:

I found that I can access Synthetic Big Watermelon through my own domain name.
Article author:GentleTK
Original link:
边栏推荐
- MQ-5 可燃气体传感器与 Arduino 接口
- R语言 —— 多元线性回归
- 【Arduino 连接DHT11 湿度和温度传感器】
- [Arduino uses a rotary encoder module]
- How to quickly build your own IoT platform?
- PCB Design Ideas
- 目标检测(一):R-CNN系列
- GM8284DD,GM8285C,GM8913,GM8914,GM8905C,GM8906C,国腾振芯LVDS类芯片
- sacalatest AnyFunSuite:no implicits found for parameter pos
- 【Popular Science Post】Detailed explanation of MDIO interface
猜你喜欢

OneNET Studio与IoT Studio对比分析

Anaconda(Jupyter)里发现不能识别自己的GPU该怎么办?

Go 程序太大了,能要个延迟初始化不?
![[Popular Science Post] I2C Communication Protocol Detailed Explanation - Partial Software Analysis and Logic Analyzer Example Analysis](/img/be/9b23a798557222bab68c67bf9170af.png)
[Popular Science Post] I2C Communication Protocol Detailed Explanation - Partial Software Analysis and Logic Analyzer Example Analysis

Industry where edge gateway strong?

MC1496乘法器

阿里云华为云对比分析

Modify hosts file using batch script

ICN6211:MIPI DSI转RGB视频转换芯片方案介绍 看完涨知识了呢

Visual Studio2022创建setup项目
随机推荐
Go 程序太大了,能要个延迟初始化不?
【NTC 热敏电阻与 Arduino 读取温度】
关于IIC SDA毛刺的那些事
联阳IT6561|IT6561FN方案电路|替代IT6561方案设计DP转HDMI音视频转换器资料
uniCloud通讯录实战
Modify hosts file using batch script
龙讯LT6911系列C/UXC/UXB/GXC/GXB芯片功能区别阐述
Out of memory error on GPU 0. Cannot allocate xxxGB memory on GPU 0, available memory is only xxx
【使用树莓派时碰到的一些问题】
C语言上机题(基础)
PCB设计思路
USB HUB USB集线器电路设计
分布式消息队列平滑迁移技术实战
NE5532运放加法器
远程调试PLC,到底如何操作?
Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset I3D论文精读
Nest 的实现原理?理解了 reflect metadata 就懂了
BSN:Boundary-Sensitive Network for Temporal Action Proposal Generation论文阅读笔记
zsh: command not found: xxx 解决方法
ICN6211:MIPI DSI转RGB视频转换芯片方案介绍 看完涨知识了呢