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

Windows Serve 2008 R2 IIS7 create W

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

Share

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

Lab preparation: a virtual machine with Windows 2008 R2 system installed

The steps of the experiment:

one。 Install IIS

1. Open Server Manager-add roles

two。 Next step

3. Check "WEB Server (IIS)"-- next step  

two。 Create a site

Open IIS-- website-right add site-add site name-specify site path-hostname (site bound domain name)-OK

2.2 after the site has been created, bind the host file for testing (Note: the bound domain name here is only a test domain name and cannot be resolved), open the hosts file in the C:\ Windows\ System32\ drivers\ etc directory, and bind www.demo.com to ip as the local server (note: for testing use, binding host is only valid for the current server, and bind your own domain name in the actual application. And the resolution points to the server ip, which needs to be registered before it can be accessed.

Open the created site-the default document sets the default home page (a test page index.html has been placed in the site directory and is in the default document list). If the name of the home page is not in this list, click on the right to add the home page.

Open a browser for access testing.

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