preface

In “A guide to build a blog with VuePress + Github Pages”, we built a blog with VuePress. In “a detailed tutorial from buying a server to deploying the blog code”, we deployed the code to the server. TypeScript4 Chinese document.

But in this article, we did not involve the domain name related content, this specialized to write a detailed domain name tutorial.

1. Domain name purchase

Because we use Ali cloud server, we directly go to Wanwang to register one:

Select the right domain name, add it to the list, place the purchase order, note that the purchase of domain name requires real name information, follow the instructions.

After the purchase, we can view the domain name we purchased in the domain console:

2. Domain name registration

After domain name purchase, need to apply ICP record. ICP, full name Internet Content Provider, Chinese for network Content Provider.

And ICP puts on record, it is to prevent to be engaged in illegal website management activity on the net, strike bad Internet information dissemination, the country puts on record system to Internet information service implementation.

If they do not register, they are likely to be prosecuted and shut down.

2.1 Submission Information

We can directly fill in information and submit it for filing on the ICP filing website of Aliyun, and the filing process is as follows:

Although Ali Cloud will provide paid record butler service, because our website is relatively simple, in fact, it is completely unnecessary, choose independent record.

Need to fill in the content of basic information, sponsor information, website information, for the individual, in fact, is the personal ID card information, contact information, address and other information.

Note that the information that needs to be uploaded has id card positive and negative photos, and there is the need to do an Ali Cloud APP face verification, according to the prompt to go.

Also note that in the website information filling in, there are some requirements for the website name, such as not with “blog”, “forum” and other words, specific can refer to the personal website naming requirements.

2.2 Aliyun Preliminary review

After the information is submitted, ali Cloud will first conduct a preliminary review, Ali Cloud audit staff will check the submitted ICP record information and materials, confirm whether the materials meet the requirements, and call to confirm the authenticity of the record information.

The first website I applied for had the word “blog” in the information, which was told in the first review and then they changed it for me directly.

2.3 SMS verification

The ministry requires web site for mainland China (mainland) to provide services for SMS need to check when the ICP registration, user in ali cloud ICP registration platform to submit the ICP record after the completion of the application and review, will receive the ministry send check messages, you need to receive a message within 24 hours to complete message check, after the success of the SMS verification applications will enter the fda review.

After the preliminary examination, according to the prompt in the mobile phone message, log in the Ministry of Industry and Information Technology record management system for SMS verification, in fact, that is, the input of mobile phone number, identity card after six and SMS verification code information, in fact, very simple.

2.4 Waiting for review

The following is a long wait, the actual review time will vary according to the ICP filing scene, generally 1~20 working days, like my application is about 7 days:

2.5 Suspension of record information

After the filing application comes down, you can login ali Cloud ICP record website, check your record information:

After obtaining the record information, we need to add the record information at the bottom of the website because:

After the SUCCESSFUL ICP registration, you need to hang the ICP registration number issued by the Ministry of Industry and Information Technology at the bottom of the successful ICP registration website, and generate a link to the website of the Ministry of Industry and Information Technology: beian.miit.gov.cn. If the ICP record number is not added at the bottom of the website, it will be imposed a fine of more than 5,000 yuan and less than 10,000 yuan by the relevant departments.

The specific style is not specified, anyway you have to write, we take the bottom example of ali Cloud official website:

3. Domain name resolution

The next thing we need to do is resolve the domain name to our server IP.

We log in to the domain name console to view the domain name we purchased and click “resolve” :

Click “Add Record” on the page that opens:

  • Record type: SELECT A to set the domain name to the IP address
  • Host record: Indicates the prefix of the subdomain name. (To create a subdomain name www.dns-example.com, enter WWW for host record. To implement dns-example.com, enter @) for the host record.
  • Line resolution: Select the default value. (The default value is mandatory. If the default value is not set, some users cannot access the line.)
  • Record value: The record value is IP address. Enter an IPv4 address.
  • TTL: indicates the cache time. A smaller value takes effect faster. The default value is 10 minutes

After adding the domain name, wait about 10 minutes and then try to access the resolved domain name to see if it can be accessed successfully.

series

Blog Building is the only practical tutorial series I’ve written so far, explaining how to use VuePress to build a blog and deploy it on GitHub, Gitee, personal servers, etc.

  1. Build a blog with VuePress + GitHub Pages
  2. This article will teach you how to synchronize GitHub and Gitee code
  3. Can’t use GitHub Actions yet? Look at this article
  4. How does Gitee automatically deploy Pages? GitHub Actions again!
  5. A Linux command with an adequate front end
  6. A simple enough Nginx Location configuration explained
  7. How to deploy your blog to your own server
  8. VuePress’s last updated date is set
  9. VuePress blog optimized to add statistics features
  10. VuePress blog optimized for HTTPS enabled

Wechat: “MQyqingfeng”, add me Into Hu Yu’s only readership group.

If there is any mistake or not precise place, please be sure to give correction, thank you very much. If you like or are inspired by it, welcome star and encourage the author.