当前位置:网站首页>Apply for domain name binding IP to open port 80 record
Apply for domain name binding IP to open port 80 record
2022-07-03 09:24:00 【zeng31403】
- Where to buy the domain name , Bought the cheapest , Enough is enough. .
https://www.aliyun.com/sale-season/2020/procurement-domain

- After buying, you have to apply for a domain name and fill in the holder information , This one needs real name registration .

Mailbox validation ( Click the verification link in the received email ), If you pass the real name certification ( Upload ID card )
An hour later , Passed .Go to the management home page , Open the domain name management page .

Here are the successful domain names , Click the parsing settings on the right

Add records

Fill in the public network of the host in the record value IP after , Wait a few minutes and you can use the domain name to access the host

8. Check on ECs nginx Installation , It was installed last time .1.8 edition .

Various modules are available .
--user=nobody --group=nobody --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-http_sub_module --with-http_ssl_module --with-pcre=/usr/local/pcre-8.33 --with-zlib=/usr/local/zlib-1.2.11 --with-openssl=/usr/local/openssl-1.0.1j
- Add... To it sever monitor 80 port
server {
# monitor 80 port
listen 80;
root /var/www/html;
charset utf-8;
index index.html index.htm index.nginx-debian.html;
server_name www.mxxx.xxz;
location / {
# Request forwarding to gunicorn The server
proxy_pass http://0.0.0.0:5000;
# Set request header , And pass the header information to the server
proxy_set_header Host $host;
# Set request header , Pass the original request ip to gunicorn The server
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
- This can be operated under Alibaba cloud , Add in and out 443、80 port

- Solve the port occupation , First take a look at the currently open ports .
netstat -lntp # Check the port , If not, install net-tools Just input again
yum -y install net-tools
Kill the process that occupies the port , then
kill xxxxx
- restart nginx . see nginx
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
ps -ef | grep nginx - OK With the domain name, you can access , However, it seems that the Ministry of public security has warned to put on record , too troublesome , No .
Get certificates and... Next time 443 port .
边栏推荐
- [point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds
- 2022-2-14 learning the imitation Niuke project - send email
- LeetCode 508. The most frequent subtree elements and
- Jenkins learning (III) -- setting scheduled tasks
- 【Kotlin疑惑】在Kotlin类中重载一个算术运算符,并把该运算符声明为扩展函数会发生什么?
- Flink学习笔记(十)Flink容错机制
- There is no open in default browser option in the right click of the vscade editor
- [point cloud processing paper crazy reading cutting-edge version 12] - adaptive graph revolution for point cloud analysis
- Build a solo blog from scratch
- Spark structured stream writing Hudi practice
猜你喜欢
![[point cloud processing paper crazy reading frontier edition 13] - gapnet: graph attention based point neural network for exploring local feature](/img/66/2e7668cfed1ef4ddad26deed44a33a.png)
[point cloud processing paper crazy reading frontier edition 13] - gapnet: graph attention based point neural network for exploring local feature

LeetCode 532. K-diff number pairs in array

Spark 概述
![[kotlin learning] classes, objects and interfaces - define class inheritance structure](/img/66/34396e51c59504ebbc6b6eb9831209.png)
[kotlin learning] classes, objects and interfaces - define class inheritance structure

【点云处理之论文狂读经典版8】—— O-CNN: Octree-based Convolutional Neural Networks for 3D Shape Analysis

2022-2-13 learning xiangniuke project - version control

Hudi integrated spark data analysis example (including code flow and test results)

Data mining 2021-4-27 class notes

【Kotlin疑惑】在Kotlin类中重载一个算术运算符,并把该运算符声明为扩展函数会发生什么?

【Kotlin学习】类、对象和接口——定义类继承结构
随机推荐
【点云处理之论文狂读经典版10】—— PointCNN: Convolution On X-Transformed Points
Jenkins learning (I) -- Jenkins installation
Go language - JSON processing
【点云处理之论文狂读前沿版10】—— MVTN: Multi-View Transformation Network for 3D Shape Recognition
Solve POM in idea Comment top line problem in XML file
2022-2-13 learn the imitation Niuke project - Project debugging skills
[point cloud processing paper crazy reading cutting-edge version 12] - adaptive graph revolution for point cloud analysis
Banner - Summary of closed group meeting
LeetCode 438. Find all letter ectopic words in the string
[point cloud processing paper crazy reading classic version 13] - adaptive graph revolutionary neural networks
WARNING: You are using pip version 21.3.1; however, version 22.0.3 is available. Prompt to upgrade pip
Common formulas of probability theory
Internet Protocol learning record
Hudi learning notes (III) analysis of core concepts
Filter comments to filter out uncommented and default values
2022-2-13 learning the imitation Niuke project - home page of the development community
Matlab dichotomy to find the optimal solution
【点云处理之论文狂读前沿版13】—— GAPNet: Graph Attention based Point Neural Network for Exploiting Local Feature
Explanation of the answers to the three questions
Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)