How To Verify Website Panel (ISPConfig, BT, WHM Etc ) Can Serve Multiple Website Use Same IP On Same Port Number

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.

  1. 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.
  2. 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.
    create multiple fake domain website in bt panel for test only-1
  3. 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.
  4. 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 设置.
  5. 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 MacHow To Edit Hosts File In Mac OS And Linux , How To Edit Hosts File In Windows 10 )
    71.98.65.11  www.test-example-1.com
    71.98.65.11  www.test-example-2.com
  6. Open a terminal and ping above two domains to verify the domain ip mapping is correct.
  7. 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).
0 0 vote
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x