Week4Workshop 93472
Week4Workshop 93472
Week4Workshop 93472
Week 4 Workshop
Objective:
The objective of this workshop is to install roles and features in windows server 2022 that helps
to host a static website.
Requirements: Download a template using www.free-css.com and extract it. Create a folder in
C drive and copy all the extracted files in that folder.
Step 1; Open windows server’s server manager dashboard and click on “Add roles and
features”
Network and Operating System
Step 7; Now Web server role has been added. Now click on next.
Step 8; Again click next leaving all default values.
Network and Operating System
Step 11; Tick on “Restart the destination server automatically if required” and press Yes
button.
Network and Operating System
Step 12; Now it will take some time to get installed required features.
Network and Operating System
Step 13; We have successfully installed Web Server role in windows Server. Now click on
Tools menu in Server Manager Dashboard and find for “Internet Information
Services(IIS)” and click on it.
Network and Operating System
Step 14; The IIS manager will be now open. We can see our server name on the left pane of
the manager.
Step 15; Click on dropdown button. Now you may see “Sites” option. Again click on drop
Step 16; As we can see there is only One web site which is default website. Now we are
going to add new website. Right click on “Sites” and click on “Add Website”.
Network and Operating System
Step 18; Now we can see our site has been listed. We can browse our site by typing
“mysite.local” on addressbar of web browser in windows server.
Step 19; If you faced this issue then we don’t have to worry. It means we need to register
our site in host file too.
Network and Operating System
Step 20; To register our site in host file, we need to open the hosts file in notepad which is
located at the following path: C/Windows/System32/drivers/etc/hosts.
Now open that hosts file using notepad.
Step 21; Add the following line at the end of the file:
127.0.0.1 mysite.local
And save it.
Network and Operating System
Step 22; Now reload the webpage. Boom our website has been loaded.