I go through many articles to host a website on IIS server but did not find any relevant article for this
Loading
I go through many articles to host a website on IIS server but did not find any relevant article for this
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Jan 10, 2023, 8:12 AM EST
It is similar to hosting any normal MVC app,
you just need to make sure that ASP.NET Core Hosting bundle is installed on machine.
Amit MohantyRank #112 · 20K reputationPosted Jan 10, 2023, 11:55 PM EST
Hosting a latest ASP.NET Core MVC application on IIS is similar to hosting an earlier version of ASP.NET Core.
1. Install the .NET Core Hosting Bundle on the server where you want to host the website. This bundle includes the .NET Core Runtime, IIS support, and the ASP.NET Core Module
2. Configure the application pool. In IIS Manager, click on the server name, then click on "Application Pools." Create a new application pool or select an existing one and configure it to use the No Managed Code option under the "Advanced Settings" option.
3. Create a Web.config file in the root of your application. This file tells IIS how to handle incoming requests and how to start your application.
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 10, 2023, 6:53 AM EST
Hi Garima,
You can go through the Microsoft documents.
https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-7.0&tabs=visual-studio
Uday DodiyaRank #239 · 10.3K reputationPosted Jan 10, 2023, 7:11 AM EST
Hi,
Please watch the following YouTube video, which walks you through the process of publishing an ASP.NET MVC on IIS.
https://www.youtube.com/watch?v=ux_DEWA9spw
Vishal JoshiRank #377 · 6.7K reputationPosted Jan 10, 2023, 7:20 AM EST
Hello
Please check the below links of the video tutorial to host the asp.net MVC core website.
https://www.youtube.com/watch?v=Q_A_t7KS5Ss
If it's not working please share the browser response message.
Thanks
Pasang TamangRank #449 · 5.6K reputationPosted Jan 10, 2023, 7:32 AM EST
Hi,
You can check the article from below link also
https://www.c-sharpcorner.com/article/host-and-publish-net-core-6-web-api-application-on-iis-server2/
Regards,
Pasang
Aravind GovindarajRank #430 · 5.8K reputationPosted Jan 10, 2023, 8:40 AM EST
Install ASP.Net Core Module in Server or Local Machine ( Where you are going to host)
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-7.0
Use No Managed Code while creating App Pool
Rest as per BAU such as folder Creation and Keeping the published files in the folder...
Munib ButtRank #156 · 14.9K reputationPosted Jan 12, 2023, 3:58 PM EST
The easiest solution would be to install the required .NET framework on the IIS machine and then simply deploy your application.