foreword
In "A Guide to Build a Blog with VuePress + Github Pages" , we used VuePress to build a blog, in "A Detailed Tutorial from Buying a Server to Deploying Blog Code" , we deployed the code to On the server, check the final effect: TypeScript4 Chinese document .
However, in the article, we did not cover the content related to domain names. This article is dedicated to writing a detailed tutorial on domain names.
1. Domain Name Purchase
Cloud server, we go directly to register one:
Select the appropriate domain name, add it to the list, place an order for purchase, note that real-name information is required to purchase a domain name, just follow the instructions all the way.
After the purchase, we can view the domain name we purchased domain name console
2. Domain name filing
After the domain name is purchased, you need to apply for ICP filing. ICP, the full name of Internet Content Provider, Chinese for Internet Content Service Provider.
The ICP filing is a filing system implemented by the state for Internet information services in order to prevent illegal website business activities on the Internet and combat the spread of bad Internet information.
If the record is not filed, it is likely to be shut down after being investigated and punished.
2.1 Submit information
We can ICP filing website submit it for filing. The filing process is as follows:
Although Alibaba Cloud will provide a paid filing butler service, because our website is relatively simple, it is not necessary at all, and you can choose to file independently.
The content that needs to be filled in includes basic information, sponsor information, website information, etc. For individuals, it is actually personal ID information, contact information, address and other information.
Note that the information to be uploaded includes the front and back photos of the ID card, as well as the face verification of an Alibaba Cloud APP. Just follow the prompts.
Also note that in filling in the website information, there are some requirements for the website name, for example, words such as "blog" and "forum" cannot be . For Personal website naming requirements 161e6a4c2a8acf
2.2 Alibaba Cloud Initial Review
After the information is submitted, Alibaba Cloud's initial review will be conducted first. Alibaba Cloud reviewers will check the submitted ICP filing information and materials to confirm whether the materials meet the requirements, and will contact by phone to confirm the authenticity of the filing information.
The website information I first applied for had the word "blog" in it. I was told during the initial review, and they changed it directly for me.
2.3 SMS verification
The Ministry of Industry and Information Technology requires that the ICP filing of websites providing services in mainland China (mainland) requires SMS verification. After the user submits the ICP filing application on the Alibaba Cloud ICP filing platform and the preliminary review is completed, the Ministry of Industry and Information Technology will send a verification SMS. The SMS verification will be completed within 24 hours of the SMS. After the SMS verification is successful, the filing application will be reviewed by the Administration.
After the trial, according to the SMS prompts, landing Ministry of Industry and record management system SMS verification, in fact, is enter the phone number, and six after the ID code information in a text message, is actually very simple.
2.4 Waiting for review
The next step is a long wait. The actual review time will vary according to the ICP filing scenario. Generally, it takes 1 to 20 working days. For my application, it is about 7 days:
2.5 Suspension of record information
After the filing application is made, you can log in to the Cloud ICP filing website to view your own filing information:
After obtaining the filing information, we need to add the filing information at the bottom of the website because:
After the ICP filing is successful, you need to display the ICP filing number issued by the MIIT at the bottom of the website where the ICP filing is successful, and generate a link to the MIIT website: beian.miit.gov.cn. If the ICP record number is not added at the bottom of the website, it will be fined between 5,000 yuan and 10,000 yuan if it is verified by the relevant departments.
The specific style is not specified. Anyway, you have to write it. Let's take the example at the bottom of Alibaba Cloud's official website:
3. Domain name resolution
The next thing we have to do is resolve the domain name to our server IP.
We log in to the domain name console view the domain name we purchased, and click "Resolve":
Click "Add Record" on the opened page:
- Record Type: Select A to point the domain name to the IP address
- Host record: generally refers to the prefix of the subdomain (if you need to create a subdomain as www.dns-example.com, enter www for the host record; if you need to implement dns-example.com, enter @ host record).
- Resolution line: select default (the default is a required option, if not set, some users will not be able to access).
- Record value: record value is IP address, fill in IPv4 address.
- TTL: It is the cache time. The smaller the value, the faster the modification record takes effect. The default is 10 minutes.
After adding, wait about 10 minutes, and then try to access the resolved domain name to see if it can be accessed successfully.
series of articles
The blog building series is the only series of practical tutorials I have written so far, explaining how to use VuePress to build a blog and deploy it to GitHub, Gitee, personal servers and other platforms.
- An article that takes you to build a blog with VuePress + GitHub
- A tutorial to teach you how to synchronize GitHub and Gitee code
- will not use GitHub Actions yet? Check out this
- How does Gitee automatically deploy Pages? Still use GitHub Actions!
- A front-end Linux command
- A simple and sufficient Nginx Location configuration explanation
- An article that teaches you how to deploy your blog to your own server
- VuePress blog optimization last updated How to set the last update
- add data statistics VuePress blog optimization of
- VuePress blog optimization to open HTTPS
WeChat: "mqyqingfeng", add me to the only readership of Xianyu.
If there are any mistakes or inaccuracies, please be sure to correct me, thank you very much. If you like or have inspiration, welcome to star, which is also an encouragement to the author.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。