Beginners for Windows — Install, Configure and Run IIS on Windows 2016
Due to the reason that I was assigned a project which involved Windows IIS and since I have not been using or working with Windows for the last 10 years, getting IIS up and running was quick a challenge to me. But after some readings and struggling, I managed to make it work and below is a blog for my own reference, or to anyone who’s new to Windows IIS too.
In this post, I will be doing
- Installing IIS
- Setting up IIS
- Getting IIS up and running
Let’s get started.
Login your Windows Server and start Server Manager.
Start installing IIS by clicking Add roles and features.
From beginning page, click Next all the way till Select server roles page.
On Select server roles page, check Web Server(IIS) option.
A popup windows shows up, click Add Features.
Click Next till the last page and click Install.
And IIS is started to install.
Done installing. Though it says a reboot is require but it seems nothing is affected if you do not.
On the left menu of Server Manager, you will see a new item call IIS, click on it and your IIS server is shown. Mouse right click on it and click IIS manager.
Setting up IIS
IIS manager is where you can configure and manage all the features of your IIS server. A default view is as bellow.
- Where you can manage and configure the IIS server, as well as adding new websites.
- Image above, I am at Default Web Site Home and here is the home directory of the current website.
- Where I can configure listening ports, home direcotry etc for Default Web Site.
- To Start, Stop and restart Default Web Site.
- To preview the Default Web Site. To enable https, you can configure it at Bindings feature.
Getting IIS up and running
To verify IIS is up and running, click Brows *:80 (HTTP), at №5 location on the previous image. If IIS is up and running, you will see it running on your default browser.
Create a new file call index.html, put some random text in it, click on Explore and put the index.html file inside the folder, refresh the browser and you shall see your random text.
That’s it! This is how you install and get IIS up and running!
In next post, I will blog how to create CSR, apply free SSL certificate, install and configure IIS with SSL and get IIS running with HTTS, stay tuned!