Table Of Contents

Hosting a Web Application on the NI Web Server

Last Modified: October 22, 2019

To make your application available to other users, host your build output on a web server that is accessible to other users.

Before you upload your application or WebVI on NI Web Server, you must complete the following tasks:
  • Remove the URL, username, and password from the panel and the diagram to maximize the security of your web application. Refer to the Hosting Authentication Credentials Securely section of Security in NI Web Technology for more information.

NI SystemLink and LabVIEW NXG Web Module both use NI Web Server. Complete the following steps to host your web application on NI Web Server.

  1. Navigate to the NI Web Server directory. Example: C:\Program Files\National Instruments\Shared\Web Server\htdocs\.
  2. Copy your entire web application output directory into the web server directory. To navigate to your web application output on your machine, click Locate directory in Windows Explorer on the Document tab of your web application component document.
  3. Open a web browser and navigate to http://localhost/WebApp_Web%20Server/Main.html, localhost is the IP address of the server and Main.html is the file name of the top-level WebVI in your web application.

Recently Viewed Topics