Trying to create a Windows web server ?
Let's create and deploy a windows server using microsoft Azure using these basic steps.
Step 1 :
Locate virtual Machine on the Azure portal and create
Step 2 :
Under Project details (resource group )- I will use an existing resource group "Novemberworkload" but if you don't have one create a new resource group and name it.
Step 3 :
Under Instance details - we have to name the virtual machine
"windowssevervm"
Region: Choose Australia east
Availability options : Availability zone
Availability zone : Choose just one zone- zone 1
Security type : Choose Trusted launch virtual machines
Image : Choose windows server 22 Datacenter : Azure Edition- x64 Gen2
Vm Archicteture : X64
Step 4 :
Under administrative account
Username : create your username and password ( note that you need to remember this info ).
Step 5 :
Under Inbound Port rules
I will be installing on the windows server so select HTTP (80) and RDP (3389)
Step 6 :
Click to confirm licensing option
Step 7 :
Under monitoring - Disable diagnostic
Step 8 :
Review and create (Make sure it shows validation passed to be sure everything is accurate)
Step 9 :
Deployment is in progress
Step 10 :
Deployment is complete . Click on 'Go to resource'
Now click on connect
Step 11 :
Select 'Native RDP', wait for it to validate and get configured before you click on 'Download RDP'
Now it is configured, download RDP file
Step 12 :
Once downloaded, connect to it
Step 13 :
Connect with the username and password created when creating your VM
Step 14:
Your remote desktop connection is ready...yayyy
Step 15 :
Now open powershell on your remote desktop, just like you will do on your computer. we're going to Install on powershell
Step 16 :
Once powershell is open (give it time)
Type in the code to install windows feature which is 'web server'
install-windowsfeature web-server
Step 17 :
Web server installed
Step 18 :
Now copy the Ip address as shown in the image below and place on your web browser. We're doing this to test and see if our web server was truly installed.
You will get to see this after running your Ip address on your web browser.
You have sucessfully created a windows server .... Yayyy 💃
Well done Mate👌
Top comments (0)