当前位置:网站首页>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 .
边栏推荐
- Flink学习笔记(八)多流转换
- LeetCode 871. Minimum refueling times
- Jenkins learning (I) -- Jenkins installation
- Flink学习笔记(九)状态编程
- Banner - Summary of closed group meeting
- 2022-2-14 learning xiangniuke project - Session Management
- Flink学习笔记(十)Flink容错机制
- Liteide is easy to use
- IDEA 中使用 Hudi
- [kotlin learning] classes, objects and interfaces - define class inheritance structure
猜你喜欢

【Kotlin学习】类、对象和接口——定义类继承结构

Go language - Reflection

Flink-CDC实践(含实操步骤与截图)
![[point cloud processing paper crazy reading classic version 11] - mining point cloud local structures by kernel correlation and graph pooling](/img/40/e0c7bad60b19cafa467c229419ac21.png)
[point cloud processing paper crazy reading classic version 11] - mining point cloud local structures by kernel correlation and graph pooling

【点云处理之论文狂读经典版9】—— Pointwise Convolutional Neural Networks
![[point cloud processing paper crazy reading classic version 14] - dynamic graph CNN for learning on point clouds](/img/7d/b66545284d6baea2763fd8d8555e1d.png)
[point cloud processing paper crazy reading classic version 14] - dynamic graph CNN for learning on point clouds

Flink学习笔记(八)多流转换

LeetCode 535. Encryption and decryption of tinyurl

2022-2-13 learning the imitation Niuke project - home page of the development community

Vscode编辑器右键没有Open In Default Browser选项
随机推荐
Hudi 快速体验使用(含操作详细步骤及截图)
ERROR: certificate common name “www.mysql.com” doesn’t match requested host name “137.254.60.11”.
[point cloud processing paper crazy reading frontier edition 13] - gapnet: graph attention based point neural network for exploring local feature
In the digital transformation, what problems will occur in enterprise equipment management? Jnpf may be the "optimal solution"
Beego learning - JWT realizes user login and registration
【点云处理之论文狂读经典版11】—— Mining Point Cloud Local Structures by Kernel Correlation and Graph Pooling
Flink学习笔记(十)Flink容错机制
Computing level network notes
STM32F103 can learning record
NPM install installation dependency package error reporting solution
Vscode编辑器右键没有Open In Default Browser选项
State compression DP acwing 91 Shortest Hamilton path
LeetCode 535. Encryption and decryption of tinyurl
[set theory] order relation (eight special elements in partial order relation | ① maximum element | ② minimum element | ③ maximum element | ④ minimum element | ⑤ upper bound | ⑥ lower bound | ⑦ minimu
Django operates Excel files through openpyxl to import data into the database in batches.
With low code prospect, jnpf is flexible and easy to use, and uses intelligence to define a new office mode
Install third-party libraries such as Jieba under Anaconda pytorch
Crawler career from scratch (I): crawl the photos of my little sister ① (the website has been disabled)
[set theory] order relation (chain | anti chain | chain and anti chain example | chain and anti chain theorem | chain and anti chain inference | good order relation)
2022-2-14 learning xiangniuke project - Session Management