简体   繁体   English

在IIS上托管NetBean html5应用

[英]Host NetBean html5 app on iis

I download NetBean IDE and did the Getting Started Tutorial 我下载了NetBean IDE,并做了《 入门教程》。

but now I want to host the site on my local IIS and I can't find in Google way of doing it. 但是现在我想将站点托管在本地IIS上,而我在Google中找不到这样做的方式。 Someone know if it possible? 有人知道这是否可能吗? and if yes how? 如果是的话如何?

Note: I am coming from the world of ASP.NET and I used to host my web apps on IIS... 注意:我来自ASP.NET的世界,我曾经在IIS上托管我的Web应用程序...

If you open Project Properties dialog (right click on the project and select Project Properties ) and switch to Run category, there is a field called Web Server . 如果打开“项目属性”对话框(右键单击项目并选择“ Project Properties ),然后切换到Run类别,则存在一个名为Web Server的字段。 NetBeans uses for HTML5 projects Embedded server by default but if you place your project to some "DocumentRoot" (sorry, don't know the terminology of IIS), then you can switch to External server in the the dialog and provide URL at which your project is available. NetBeans默认情况下用于HTML5项目嵌入式服务器,但是如果您将项目放置到某个"DocumentRoot" (抱歉,不知道IIS的术语),则可以在对话框中切换到“ External服务器”并提供URL,项目可用。

Note that NetBeans won't control your IIS, you simply provides URL which should be opened in browser once you run the project (so the server must be already running and your project must be in the document root) 请注意,NetBeans不会控制您的IIS,您只需提供在运行项目后应在浏览器中打开的URL(因此服务器必须已经在运行,并且您的项目必须在文档根目录中)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM