Hosting a Web Application on a Server

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

You can host your web application on any server you choose. This includes local servers and servers in the cloud. Use the following table to choose and set up a server for hosting your web application.

Options for Hosting a Web Application

Required Products Use Case Hosting Server Hosting Instructions
G Web Development Software or NI SystemLink

Choose this server in either of the following cases:

  • You want to manage your own server from within your network, either through G Web Development Software or NI SystemLink.
  • You want to avoid placing the server burden on your measurement hardware, such as when using real-time hardware.
NI Web Server NI SystemLink and the G Web Development Software both use the NI Web Server.
LabVIEW 2013 or later Choose this server in either of the following cases:
  • You want to host a web application directly on a LabVIEW real-time target, such as a CompactRIO.
  • You want to use the security features provided by LabVIEW Web services.
LabVIEW Application Web Server

Follow the instructions for Hosting a Web Application on the NI Application Web Server.

3rd party software

You need functionality that is not included in the NI server options.

3rd party server

Before you begin, you must build a web application. Follow the instructions for Building a Web Application as a Web Page.

Copy your entire web application build output to the 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.

Note You may need to configure a 3rd party server to support the application/wasm MIME type for files with the .wasm file extension.