How to install IIS webserver
and create webpage on the
windows server
Abhishek Kumar
Abhishek Kumar
1. First Launch an Window server EC2 Instance
Abhishek Kumar
Abhishek Kumar
2. Added 2 more security inbound rules for
HTTP and HTTPS
Abhishek Kumar
Abhishek Kumar
3. Now let's connect to our EC2 Instance using
RDP
Abhishek Kumar
Abhishek Kumar
4. Download RDP file, to get the password to
log in to your EC2 Instance - upload that private
key file here - it will decrypt and will give you
the password
Abhishek Kumar
Abhishek Kumar
5. Logged in successfully - now search
for server manager
Abhishek Kumar
Abhishek Kumar
6. Click on - Add Roles and Featres
Abhishek Kumar
Abhishek Kumar
7. Click on Next
Abhishek Kumar
Abhishek Kumar
8. Again click on Next
Abhishek Kumar
Abhishek Kumar
9. It is asking here - to select any server -
we have only one - select that -- Next
Abhishek Kumar
Abhishek Kumar
10. Here the file which we want to
select is - webserver(IIS)
Abhishek Kumar
Abhishek Kumar
11. Click on Add features
Abhishek Kumar
Abhishek Kumar
12. Then click on Next
Abhishek Kumar
Abhishek Kumar
13. Click on Next - OR select any feature a/c
to the project requirement
Abhishek Kumar
Abhishek Kumar
14. Click on Next
Abhishek Kumar
Abhishek Kumar
15. Again Click on Next
Abhishek Kumar
Abhishek Kumar
16. Click on Install - you can also mark that
above tick mark if you want to restart the
server after installation
Abhishek Kumar
Abhishek Kumar
17. Installation has been started
Abhishek Kumar
Abhishek Kumar
18. Installation done - close this dialog box
Abhishek Kumar
Abhishek Kumar
19. Go to C drive - here there is one file
named - inetpub , because of web server
installation
Abhishek Kumar
Abhishek Kumar
20. Go to that file - and open that last
file named - wwwroot
Abhishek Kumar
Abhishek Kumar
21. Here you have these 2 file - select
both and Delete them
Abhishek Kumar
Abhishek Kumar
22. Now that wwwroot file is empty -
right click -- and create one folder - text
document
Abhishek Kumar
Abhishek Kumar
23. Open that file --and write your
content
Abhishek Kumar
Abhishek Kumar
24. And save it as - Name: index.html ;
Filetype: All
Abhishek Kumar
Abhishek Kumar
25. Here you get these two file - delete
below one and keep only HTML one
Abhishek Kumar
Abhishek Kumar
26. Website is ready now - Let's do
testing
Abhishek Kumar
Abhishek Kumar
27. Let's take your EC2 Instance Public IP
Abhishek Kumar
Abhishek Kumar
28. and search it in your browser
Abhishek Kumar
Working
Successfully
Abhishek Kumar
so, you can now use this IP anywhere - and
get your website - and we've created this in
5-10 min -- so you can see here benefit of
Cloud Abhishek Kumar
After the practice - Just delete the Instance -
so you don't get any bill
Abhishek Kumar
Deleted the Instance
Abhishek Kumar
Abhishek Kumar
Abhishek Kumar
Abhishek Kumar