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

How to create a new site to publish a website in webserver and access it through a domain name

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

Share

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

This article mainly introduces how to create a new site in the webserver website and access through the domain name, has a certain reference value, interested friends can refer to, I hope you read this article after a great harvest, the following let Xiaobian with everyone to understand.

Lab preparation: Set up a web server in the first Windows server. (The details of the installation steps are explained in the first blog post.)

Open Start-Administrative Tools-Internet Information Services (IIS) Manager, as shown in the figure below:

3. After opening IIS Manager, press the figure to open it, select a website, right-click and select Add Website.

4. Pop-up "Add website" dialog box, fill in the corresponding option box according to the requirements, here need to pay special attention to is the "host name" option box, do not need to fill in any host name, blank. Click OK. The physical path is the address of the folder where you store the web page. Here, you need to change the web page file name to "index". Secondly, the folder is generally stored in the C disk by default.

5. At this point, we found that there is an additional website named "mmm" under the website directory, indicating that the website was successfully created.

6. If you want to modify the hosts file to access the website through the domain name, then we need to open the hosts file "Start"-"Computer"-"C disk"-"Windows"-"system32"-"drivers"-"etc"-"hosts" and add a record pointing to the ip address and domain name, as shown in the figure.

7. Open IE browser, enter the domain name written in the hosts file in the address bar, and you can access the website you published.

Thank you for reading this article carefully, hope Xiaobian share "how to create a new site in the webserver website and access through the domain name" This article is helpful to everyone, but also hope that everyone more support, pay attention to the industry information channel, more relevant knowledge waiting for you to learn!

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