How to use the domain name applied for in Tencent Cloud with your own computer to build your own website

First, buy a domain name in Tencent Cloud, such as my www.xxtt.cn. After the purchase is successful, the following picture will appear after real-name authentication:


At the beginning, the service status should be under review, and then wait until the review is passed before you can continue the following operations

When the service status becomes normal, click the analysis button on the right and the following image will appear


Click Add Record, bind the IP address of our own computer, and he will pop up a small box for you to enter the IP address

At this time, we need to find our own IP address, as follows:

Start menu, enter cmd to bring up the dos interface, enter ipconfig/all and hit enter

Find IPV4 in the displayed information : this item , the following string of numbers is our IP address, fill in the corresponding small box just now

At this point you will see the following picture information:



In this way, we bind the IP address, so that our domain name can be accessed officially. Tencent Cloud comes with a domain name diagnosis tool, you can diagnose it:


Then open the dos interface just now, ping www.xxtt.cn inside

There will be a return message, indicating that the ping is successful.

Finally, we open tomcat, modify the port in server.xml under conf, the default is 8080, modify it to 80, so that you can access your website through your domain name

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326467790&siteId=291194637