如何在IIS 7.5 Server中承载网站 [英] How To Host A Web Site in IIS 7.5 Server

查看:67
本文介绍了如何在IIS 7.5 Server中承载网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是ASP.net的初学者我在Windows 7上创建了一个网站,并在我的PC上安装了IIS 7.5。我使用的是Visual Studio 2010.I不知道如何托管我试过自己和网上的网站,但我没有成功。任何人都可以帮助我逐步主持一个网站。

解决方案

为了帮助你开始你的生活查看本次搜索中的教程和视频:

Google [ ^ ]



就像我说的那样,它是一个复杂而冗长的答案,包括所有必要步骤以使其工作。自己尝试一下,当你遇到一个特定的问题时回来:)


你是否试图用你的个人电脑向世界展示一个网站?不要那样做。这比你想象的要复杂得多。



使用像GoDaddy这样的服务来托管你的网站。基本上,您可以在Visual Studio中创建新的Web应用程序,然后右键单击项目(而不是解决方案)并发布到文件系统。然后,将这些文件上传到您使用GoDaddy(或其他一些Web主机)创建的网站。这基本上就是它的全部。



当你做更复杂的事情时会有其他的考虑因素,例如使用数据库。但是,从那里开始简单并扩展。


您是否在CP& Google?

Prashant Bangaluru写道:

但我没有成功

什么你的意思是?总是有错误。请查看这些文章以了解您的问题。

IIS 7.5和ASP.NET 2.0 Classic入门 [ ^ ]

在IIS 7.0上部署ASP.NET网站 [ ^ ]


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.

解决方案

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 :)


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.


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 [^]


这篇关于如何在IIS 7.5 Server中承载网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆