venket's b log

venket's b log

Install IIS Server on Windows and secure with SSL

Install IIS Server on Windows and secure with SSL

Listen to this article

First we are going to install the Windows Internet information server role.

Inthe windows server open server manager and select add roles and features

image.png

image.png

image.png

image.png

In the server role section select web server iis role

image.png

image.png

next features section dont select anything

image.png

Finall select install button and finish the iis role instalation

image.png

image.png

image.png

Now your iis role installed sucessfully.

Check your srvers public ip(local ip in lan)

image.png

now you can see IIS default welcome page.

now we are going to map your public ip to your registered domain name in godaddy.

In Domain regiterar (go daddy,hostingar,route 53) control panel just add the record and give the below details.

Type : A (record) Host : Value : TTL(Time to Live) : give minimum 10 mins

image.png

now check your domain name in browser.

image.png

Now we are going to secure our website with SSL.

for that we are going to use free certificate provider let's encrypt.

first download the certbots installer for windows in the below link.

win-acme.com

Download Here

download and extract the package to c drive as win acme

now execute the winacme.exe

image.png

Select create new certificate N

image.png

before that you want to verify your iis site bindings are properly configure below.

image.png

Select your site name here.

image.png

Next choose All option

image.png

Its asking confirmation

image.png

after that it download the end user license agrrement in your local server.

its asking to open default application. press Y

After that its asks agree the terms

again press Y

After that its asks the mail for communication purpose.

enter your mail id.

image.png

After that its successfully deploy the ssl certificate ffor your website.

image.png

Now check you website is secured with SSL.

image.png

image.png

forget to tell one thing always create new site in iis . so you not face any difficulties. dont use default website.

image.png

 
Share this