Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Set up multiple websites using different TCP ports

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This approach is to make each site still use the same IP address, but assign different port numbers to different sites.

1. Find the Internet Information Service Manager in the start-Management tool.

2. Create 2 new websites and stop other sites to counter interference (for example, new websites 456, 789)

3. Click the 456 website, click the binding settings on the right, and add the IP address and port number. Do not add the host name.

(1) add the IP address 192.168.10.3 to the 456 website with the same IP address as the native IP address, and port 80 is the default port

(2) add the IP address of 192.168.10.3 to the 789 website, just like the 456 website, give a random port number, such as 8080.

4. Browse New

(1) right-click 456 to browse-create a new html page

(2) right-click 789 to browse-create a new html page

5. Find notepad in the beginning, right-click to log in as administrator user-- Open files-- disk C-- hosts under all windows--system32--drivers--etc-- files and add the IP address and domain name at the end.

6. Open the ie browser

(1) enter IP address without port number (because the default port is port 80)

(2) enter IP address plus port number 8080

7. When there are two different web pages, it is finished.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report