I have two website both build with WordPress. I manage the two website use bt.cn website panel. And one website can be accessed correctly but the other can not. The two website are all use CloudFlare service. The only difference is that one website use ezoic in front of CloudFlare.
So I wonder whether bt.cn website panel can support multiple website use same ip and same port number(80). This article will tell you how to verify that. I think this method can be used to verify other website panel (ISPConfig, WHM ) also.
1. Verify WebSite Panel Can Run Multiple WebSites Use Same IP And Same Port Number(80) Steps.
- To implement this test, you should turn off any proxy server client or v2ray client because we will use local OS DNS feature. Otherwise this test can not passed.
- Create multiple website with test domains ( fake domains for example www.test-example-1.com, www.test-example-2.com ) in BT panel ( How To Install BT VPS Control Panel And Restore WordPress Website Into It ). The test domain must start with www, because when you browse above domain in web browser, it will always add www as the domain prefix.
- Because the domain is for test only, so do not need to create database for the domain website. Just edit the domain website index.html file and write some special text in it.
- Do not forget restart server after create website in BT panel. You can click 首页 —> 重启 to restart all servers or just restart Nginx / reload Nginx configuration settings in 软件商店 —> 已安装 —> Nginx 设置.
- Now edit the hosts file in your local machine ( mine is a mac book pro then the file is /etc/hosts), and add below DNS record in it. ( How To Modify Hosts File In Mac , How To Edit Hosts File In Mac OS And Linux , How To Edit Hosts File In Windows 10 )
184.108.40.206 www.test-example-1.com 220.127.116.11 www.test-example-2.com
- Open a terminal and ping above two domains to verify the domain ip mapping is correct.
- Now when you browse above domains in web browser, you can see the two domain website are all running as expected. And the two domain website use same ip and same port number(80).