Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,
I am beginner in ASP.net I created a web site on my windows 7 and installed IIS 7.5 in my PC.I am using Visual studio 2010.I dont know how to host a website I tried on myself and on net ,But I didnt succeed.Can any one help me how to host a website stepwise.
Posted
Comments
Kenneth Haugland 10-Sep-12 14:01pm    
Ususlly you can use the Publish method in Visual Studio. The folder would have t be a Visual folder in IIS and you should make your default page your project aspx file. There is a lot of work for getting this to work in a complex program, so what do you need. I dont think anybody is going to write a tutorial for you :=)

To get you started you chould check out bot the tutorials and the videos in this search:
Google[^]

Like I said, its a complicated and long answer to include all the nessecary steps to make it work. Try it out for yourself and come back when you are stuck on a specific issue :)
 
Share this answer
 
Are you trying to expose a website to the world using your personal computer? Don't do that. It's more complicated than you think.

Use a service like GoDaddy to host your website. Basically, you can create a new Web Application in Visual Studio, then right click on the project (not the solution) and publish to the file system. Then, upload those files to the website you created with GoDaddy (or some other web host). That's basically all there is to it.

There will be other considerations when you do more complicated stuff, such as using a database. However, start simple and expand from there.
 
Share this answer
 
Comments
AspDotNetDev 10-Sep-12 14:22pm    
Also, if you are just trying to run the website to do web development, just go to the "Debug" menu and select "Start Debugging". You don't need IIS. Visual Studio has a built-in web server (Cassini) it uses to debug web apps.
Prashant Bangaluru 11-Sep-12 1:16am    
No Just learning in Home.Simple hobby project not for business
Did you search on CP & Google?
Prashant Bangaluru wrote:
But I didnt succeed
What do you mean? Always come with error. Here check these article for your issue.
Getting Started with IIS 7.5 and ASP.NET 2.0 Classic[^]
Deploying ASP.NET Websites on IIS 7.0 [^]
 
Share this answer
 
Comments
Prashant Bangaluru 11-Sep-12 1:17am    
I searched both on google and youtube but no good videos found.If you know any links please paste the link
http://www.dotnetfunda.com/articles/article1247-how-to-host-aspnet-application-on-the-web-server-iis.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900