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

Building experiment of Web Server and DNS Server

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

experimental environment

One PC (192.168.1.1)

Windows Server (192.168.1.3)

Turn off the firewall of the server and set the pc gateway 192.168.1.3

Prepare the web page file and place it in the server disk directory named web

Install IIS components to test PC and server connectivity

The above interface appears. The test is successful. Next, go to web server construction management-add roles and functions---Next-select IIS

Install web services Installation complete Click Close

Open Tools First Option IIS Manager

Open Website Disable Default Page

Select the website, create a new site, enter a name and path

Open PC browser and type 192.168.1.3

test is successful

Web hosting:

Different ports with the same IP

The same port different IP in the server to store a web page file index new website, add site name + path modify port number 8090

Open pc and type http: //192.168.1.3:8090

11. The implementation of different IP addresses on the same port, add IP addresses to the server

12. Bind different IP addresses to different sites respectively, and the same port 80

13. Go back to pc visit 192.168.1.8

successful visit

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