Configure Microsoft Internet Information Services (IIS)

Cory Fifield -

Trouble viewing images? Click on images to enlarge.

 

Article Goal: Configure IIS.

 

In this article we are going to provide the steps to configure your server in IIS.

 

Steps To Configure IIS.

 

1. Launch Internet Information Services (IIS) Manager.

mceclip0.png

 

 

2. Expand the drop down and right click on Application Pools, then select Add Application Pool.

mceclip1.png

 

 

3. Enter an Application Pool Name. In the example below we used WebReports.

mceclip2.png

 

 

4. Set the .NET CLR version to No Managed Code, then click OK.

mceclip4.png

 

 

5. Expand the Sites folder, then select Default Web Site or create a new site.

mceclip5.png

 

 

6. Select Basic Settings under the Edit Site section.

mceclip0.png

 

7. Click Select for the Application Pool.

mceclip6.png

 

 

8. Select your new application pool, then click OK.

mceclip7.png

 

 

9. Click OK on the Edit Site form.

mceclip8.png

 

 

10. Click on Application Pools. Right click on the new application pool that you created, then select Recycling.

mceclip9.png

 

 

11. Uncheck the Regular Time Intervals option, then click Next.

mceclip11.png

 

 

 

12. Click Finish.

mceclip12.png

 

 

13. Right click on the new application pool you created again, then select Advanced Settings.

mceclip13.png

 

 

14. Change Start Mode to AlwaysRunning.

mceclip14.png

 

 

15. Change Idle Time-out Action to Suspend, then click OK.

mceclip15.png

 

 

16. Click on the Default Web Site, then click Bindings.

mceclip21.png

 

 

17. Click Add.

mceclip22.png

 

 

18. Change the Type to https.

mceclip23.png

 

 

19. Select your IP address.

mceclip24.png

 

 

20. Enter your port. (Default port is 443)

mceclip25.png

 

21. Select your SSL certificate, then click OK.

 

Note: If you do not have one, contact your certificate authority (CA).

mceclip27.png

 

 

22. Select port 80, then click Remove.

mceclip28.png

 

 

23. Select Yes.

mceclip29.png

 

 

24. Download and extract the files from WebReportsV10 folder.

mceclip16.png

 

 

25. Wait for the files to finish extracting.

mceclip17.png

 

 

26. Copy all of the contents in the WebReportsV10 folder. (Ctrl + A > Ctrl + C)

mceclip19.png

 

 

27. Paste them into your wwwroot folder. (Refer to step 6 : Physical Path for file location)

mceclip20.png

 

 

28. Open your appsettings.json file with a text editor.

mceclip31.png

 

 

29. Edit the appsettings.json connection string for the DefaultConnection with the following information.

- Server (Found at step 2 - Configure Your Microsoft SQL Server Instance In SSMS)
- Instance Name (Found at step 7 - Microsoft SQL Express 2019 SSMS Installation)
- Database (Found at step 9 - Configure Your Microsoft SQL Server Instance In SSMS)
-
User ID (Found at step 11 - Configure Your Microsoft SQL Server Instance In SSMS)
- Password (Found at step 13 - Configure Your Microsoft SQL Server Instance In SSMS)

 

mceclip0.png

 

 

30. Select the Default Web Site and then click on the Browse Website link.

mceclip0.png

 

 

31. Sign into WebReports using the default admin login.

 

IMPORTANT NOTE: Immediately change the default Administrator password after logging in.

 

Username: Administrator

Password: WebReports@0001

 

Note: A self signed certificate was used for the demo purpose, resulting in the "not secure" connection.

 

mceclip1.png

Have more questions? Submit a request

Comments