IIS on EC2 Windows Instance


Hi AWS, I am hosting a dotnet web app on an IIS web server which is running on EC2 windows instance with 2022 Base Image AMI. Having said that when I am copying the publish folder files in C:\inetpub\wwwroot, I am not seeing the right output. The UI is looking something like this:


The original output should be like this:

Original Output

profile picture
asked 16 days ago82 views
2 Answers


You may want to follow this AWS cookbook: https://docs.aws.amazon.com/opsworks/latest/userguide/cookbooks-101-opsworks-install-software-feature.html

This video may also interest you: https://www.youtube.com/watch?v=qdFPS1ywlho

Both detail how to create the proper IIS install and config



profile pictureAWS
answered 16 days ago
  • sorry, but it didn't work out as I have done the configuration in the exact same way as shown in the video.


Can you supply info from where you are getting the project from. Looks like you’re just showing the application code via a directory listing. That’s all this will do. You’ve missed some configuration I suspect.

profile picture
answered 15 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions