Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Cloud Development Web site hosting domain name binding


May 27, 2021 Web Cloud Development and Web Hosting Learning Guide



If we visit the site is provided by cloud development of the default domain name, first of all, the default domain name access is limited by the speed of access, and secondly, the default domain name is not very well remembered, so this article we will introduce, how to develop static managed binding static domain name in the cloud.

First, apply for a domain name

First, we need to request a site domain name that is accessible. You can choose to register a domain name you like and can use on Tencent Cloud Domain Name Registration.

Second, apply for SSL certificate

What is an SSL certificate?

A secure socket layer (SSL) certificate,sometimes referred to as a digital certificate, is used to establish an encrypted connection between a browser or user's computer and a server or Web site. SSL connections protect sensitive data, such as credit card information, that is exchanged during each access, called a session, from being intercepted by unauthorized parties.

Simply put, a site with an SSL certificate is deployed to make access more secure for users. In general, SSL certificates are available for a fee, and Tencent Cloud offers SSL certificates available for free use.

In Tencent Cloud's SSL Certificate Console, click Request a free SSL Certificate:

Cloud Development Web site hosting domain name binding

Then, fill in the domain name you just requested in the generic name and follow the prompts to fill in the remaining items:

Cloud Development Web site hosting domain name binding

Enter the audit phase, wait for the meeting, and you will see the interface after the audit is successful:

Cloud Development Web site hosting domain name binding

Third, binding domain names and SSL certificates

Back to the Cloud Development Static Site Hosting interface, in the Settings column, click Add:

Cloud Development Web site hosting domain name binding

Fill in the domain name just applied for, select the SSL certificate that we bound on this domain name, click OK to add it.

Cloud Development Web site hosting domain name binding

When the domain name and certificate deployment are complete, you can see the CNME value for the domain name.

Cloud Development Web site hosting domain name binding

Fourth, add system domain name resolution

To enter a domain name in the browser can directly access our website, we need to visit the domain name binding DNS resolution, let the browser know that this domain name is actually corresponding to my deployed site.

Enter Tencent Cloud's DNS Domain Name Resolution console, select our registered domain name, click Resolve:

Cloud Development Web site hosting domain name binding

In the domain name resolution interface, add the CNME value of the bound domain name we got in the third part:

Cloud Development Web site hosting domain name binding

When you're ready, visit the domain name and you'll see the static website we've deployed directly.