简体   繁体   中英

no default web site on my new Windows Server 2019 iis to publish an ASP.NET hello world to

I just created a new Windows Server 2019 on AWS EC2/ Next I used server mgr to install IIS. Next, I tried to publish an ASP.NET .NET framework HELLO WORLD app, but there's no web server to publish it to.

But when I open IIS Manager, I don't see Default Site (see image)...

在此处输入图片说明

In IIS Mgr I tried "Connect to a server", entered my admin account credentials, but got "Cound not connect... Unable to connect to the remote server" (see below)

在此处输入图片说明

Went to Server Manager > Roles > and installed more Web Server features, restarted Windows and the problem went away. IIS Manager now shows default Web, and I can now browse my HELLO WORLD web app from external Internet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM