Introduction
Microsoft's Internet Information Services (IIS) is a versatile, all-purpose web server that provides requested HTML pages or files on Windows PCs.
Remote client computers can submit queries to an IIS web server, which will then deliver the proper response. Web servers can share and distribute information across LANs, such as corporate intranets, and WANs, such as the Internet, thanks to this fundamental functionality.
A web server can provide users with information in a variety of ways, including static HTML-coded web pages, file downloads and uploads, text documents, image files, and more.
Now we will start the implementation of the Deployment of the application Using the IIS Server
Step No 1
Create the Asp.net MVC Application Using Visual Studio.
Select the Project Type MVC and hit the create button.
Now Our Project is in Initial Deployment stage.
Now our application is ready for Deployment on IIS Server.
Step No 2
Now right click on the application and hit the publish option.
We will select the Folder Option.
Create the Directory in your system for Application Build.
Select your folder for application build.
Hit the Finish Button and we are good to go.
Our application build Created Successfully.
Our Deployment Build is Ready.
Step No 3
Open the IIS Server.
Right Click on the Websites and Add a new website. Give the name of the website and Add the Physical Path for your Application where you stored the Application Build. The next step will be give the Host name to your website (Simply the Domain Name)
You can see the setting in the given below screenshot.
Step No 4
Open the C Drive and find the system 32 Folder Open the Driver Folder and after that open the etc. folder and tthenopen the Host File
C:\Windows\System32\drivers\etc
Open the Host File using Note Pad.
Now Open the CMD and find your IP Address
Set the IP Address and Host name in Host file in way I am doing below.
Now go to IIS Server and Browse your website.
Top comments (0)