Search code examples
asp.net-mvcwindows-10iis-10

How to host ASP.NET MVC app on IIS10 win10


I dont know what did i do wrong but i keep getting this "This site can’t be reached"
I tryed allmost every solutions offerd here on stackoverflow and accross internet.

I instaled IIS and configured it just like they descirbed on
https://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/deploying-to-iis

I published app to a folder with same name as Web site and Hostname i created in IIS.
I pointed IIS to look on that folder and when i try to browse i get that error.
I Set Application Pool to .NET CLR version v4.0.30319.

Any suggestions?


Solution

  • Right click on your website and select Edit Bindings. There should be mapped with the default port 80 the name of the website: websitename.domain.com