Quick start: Hosting your ASP.NET Website in IIS

Daniel Alberts , Nairobi – Highway robbery – I had set my account to auto renew, and was surprised to find a charge of >$300 a year later. Appalling, and the company was unwilling to reverse the charges. It’s clear that the company’s business model is to take advantage of auto-renew policies, rather than to deliver quality service. Shameful.

Michael Kennedy

  • moonboi
    Posted at 19:21h, 28 January

    Hi all I have encountered the problem where I was looking up a real website called "wackywideworld.com" because my computer is not handling it locally.

    Please take a look at this video on how to search up your intended local website instead of searching the DNS.
    Search "How to Modify the Hosts File in Windows 10" by Westy's How To Guides.

    With relavance to this video, what you wann write at the last line of hosts file is " wackywideworld.com" being the localhost (yours maybe different) and wackywideworld being the iis application name

  • Shivayogi Hiremath
    Posted at 16:21h, 09 March

    Concise and precise content. Thank you Michael!

  • ORIOLESFan02
    Posted at 22:49h, 31 March

    How do you get those files? Do you make them or can you get them from the web?

  • ORIOLESFan02
    Posted at 23:24h, 31 March

    It only shows up for me and no one else. Could someone help me please?

  • roul3688
    Posted at 17:45h, 08 April

    Doesn't work for me 🙁

  • amir marjani
    Posted at 06:44h, 15 April

    Easy to understand and well accent, obviously worthy at all. thank you

  • Sayed Osama
    Posted at 15:02h, 21 April

    really amazing content and look like simple bcuz your work ,thank's

  • Jordan Co
    Posted at 23:05h, 03 May

    This guy sounds like Ira Glass

  • Daniel Hughes
    Posted at 23:08h, 30 May

    what would i need to change for deploying the website on a particular private domain server? ie changing http://localhost:80 to any suggestions would be appreciated

  • Elma Burger
    Posted at 08:17h, 09 June

    I get the asp.net home page. What do I do?

  • Shehab Taher
    Posted at 10:28h, 27 June

    thank you

  • M Monsur
    Posted at 02:31h, 07 August

    How did you 'map that domain to this local machine?"

  • Barrosy
    Posted at 18:02h, 15 September

    3:45 What if I already used this domain on another webhosting service, it does not show the same error but instead my old website. Is that supposed to be normal? How am I to apply a domain I already have and make it work within IIS for this step onward? "I have already mapped that domain to this local machine", what do you mean by this? Would you be able to show us how to do this?

  • animeEveryDay
    Posted at 12:40h, 21 September

    Nice video, where is the video for deploying on Azure ?

  • Ross Ylitalo
    Posted at 15:01h, 15 October

    Very nice, Thank You!

  • Deep Blackhole
    Posted at 13:38h, 09 November

    Why I see "site cannot be reached"?
    and also when I check url, I see https protocol while in settings, protocol is set to http!
    What is wrong?

    Posted at 13:53h, 27 November

    can i access my website from everywhere i want?

  • Dixon Gutierrez
    Posted at 23:51h, 27 December

    Is this procedure ok for asp.net MVC5?

  • Nidhi Tank
    Posted at 06:36h, 10 January


  • bntdgp
    Posted at 17:07h, 11 January

    CSS and Images are not working after Deploy in IIS. Can you please tell me how to resolve it?

  • Jack Simone
    Posted at 03:56h, 16 June

    Good tutorial. Do you have any tutorial to publish Asp.net core 3? I'm trying publishing .net core on Asphostportal shared hosting environment, it always shows 502 – Process Failure. Any insight? They can deploy .net core without any issue and have shown the demo to me. But, my application can't work. Thank you

  • muttBunch
    Posted at 17:39h, 05 July

    This is awesome and all, but I come from CodeIgniter/PHP using FTP. I'm testing a few things with C#.net. I have 3 domain controllers in a VM and a server on the domain where I have installed IIS. Is there a way in Visual Studio, to push it when I hit build for testing? Or the only way to do that would be via FTP? I don't want to have to continuously hit "publish" every time I make a change. Thanks

  • Deepika ravi
    Posted at 05:53h, 12 September

    Hi sir, I run my iis after publish but it redirect another website

  • Jakub Stejskal
    Posted at 08:47h, 23 September

    Hello, what if my browser says: This site can't be reached? Am I missing something?

  • Craig Clausen
    Posted at 11:44h, 29 October

    Good summary explanation.

  • akshay jain
    Posted at 16:26h, 23 November

    Please michal help me

  • Amandeep singh
    Posted at 12:55h, 07 May

    Thanks a lot buddy. My problem solved !!

  • MashAllah Tech Secrets
    Posted at 20:05h, 25 May

    api???how to api publish?

    Posted at 05:29h, 04 June

    How would we enable https?