Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Publish Visual studio MVC application Error

I am trying to publish my visual studio MVC website with FTP and using Web Hosting for Students. But when I publish via visual studio and Transfer all my files and type my website in URL, it just shows the files directory and doesn't take me to website home page. do I need to change path root somewhere like Web.config or this is happening because Web Hosting for Students does not support ASP.net MVC?

1 Answer

Justin Horner
Justin Horner
Treehouse Guest Teacher

Hello Majid,

My guess is that the hosting does not support ASP.NET MVC. They are most likely using Linux boxes that are not yet supporting ASP.NET Core 1.

I hope this helps.