Recently I saw a pagoda panel installed on a server of Tencent Cloud. When I logged in to the panel, I was prompted to upgrade. After clicking Upgrade, I found that it was too slow to open the side menu to load. What is the problem?
#Give priority to these two commands sed -i "/bt.cn/d" /etc/hosts echo "36.133.1.8 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn" >> /etc/hosts #If the effect is not good, re execute these 2 items sed -i "/bt.cn/d" /etc/hosts echo "116.10.184.219 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn" >> /etc/hosts
Here is an official solution to the DNS problem. We need to replace the DNS on the pagoda panel.
Especially Hong Kong servers.
sed -i "/bt.cn/d" /etc/hosts echo "128.1.164.196 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn" >> /etc/hosts
Do not execute the above command if there is no use problem or if you just get stuck occasionally, to avoid affecting the experience! If the command has been executed by mistake, you can execute this command to clear the bound nodes:
sed -i "/bt.cn/d" /etc/hosts
The official solution, if it is a WIN server.
After opening with a text editor, if you find that hosts have been specified before, delete them, and then specify:
ECS Shanghai:
116.10.184.219 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn
Hong Kong:
128.1.164.196 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn