Top
Host content on a private server
  • 16 Nov 2023
  • 2 Minutes To Read
  • Dark
    Light
  • PDF

Host content on a private server

  • Dark
    Light
  • PDF

Article Summary

What is Self-Hosting?

Whatfix enables users to download the content they have created and then host and serve it from their own web servers. Thus, the Whatfix Desktop Player communicates directly with the user’s hosted server without having to connect to any external domain.

This helps maintain user privacy in applications that require minimal interaction with external servers or sources, for example, banking applications.

How can you host Whatfix content using your own server?

Use the following steps to fetch and host Whatfix content on your own servers,

Export the Whatfix content package and host a server

  1. Log in to the Whatfix Desktop Dashboard.

  2. Go to the Production stage and then click Export Production Package.
    2023-02-07_12-21-48.png

  3. In the Pop-up that appears, click Export.
    2023-02-01_17-33-00.png

  4. Review the changes made to the content before exporting it and then click Next.
    2023-02-01_17-33-27.png

  5. An email with a link to download the .zip file of the export package is sent to you.
    2023-02-01_17-33-51.png

  6. Open the email you have received, click the .zip link and download the package in the location where you have hosted your own server.
    2023-02-01_17-36-35 1.png

  7. Once the file is downloaded, unzip the package.

  8. Once you open the orgs folder, the following files and folders are present inside it,
    2023-02-01_17-38-10.png

You can host a server from this location.

your title goes here

For more information about how to host a server, see How to Share Files On Local Network Using Apache File Server?

Fetch content from your server using the Whatfix Player

Once you host content on your server, the Whatfix Player automatically starts fetching it from your server instead of a Whatfix domain.

In case you do not have the Whatfix Player installed, use the following steps to fetch content,

  1. Download the Player’s installation file: WhatfixPlayerInstaller.msi

  2. Open the Command Prompt and type cd to change the current directory to the downloaded folder.
    cmd-downloadfolder DT 1.png

  3. Run the following command to install the WhatfixPlayerInstaller file.

    Note

    Add the IP address of the machine where you have hosted your server in the place of HP (hosted path parameter).

    msiexec.exe /i WhatfixPlayerInstaller.msi ORG="provide the ORG ID here" HP="https://cdn.whatfix.com" DD="https://whatfix.com" PORT="49999" INSTALLPATH="C:\Users\User\Desktop\code" /q
    
  4. Press Enter. If there is no error message, the installation is successful.

Note
  • In case you install the Player using a method other than silent installation, Go to your registry and change the hosted server path in the following location:

    Computer\HKEY_CURRENT_USER\SOFTWARE\Whatfix

  • For more information on how to open your Windows registry, see How to Open Regedit.

  1. Start the Player. Your Whatfix content is fetched from your own servers, instead of from an external Domain.
your title goes here

In the event that you download the .exe file instead of the .msi one for the Player, use the following steps to fetch content from your server,

  1. Open the Command Prompt and type cd to change the current directory to the downloaded folder.

  2. Run the following code,

    .\WhatfixPlayerInstaller.exe -Install -ORG <ORG_ID> -HP <IP of server> -DD <Any>
    
  • Replace <ORG_ID> with your Org's value. The ORG value mentioned above is a dummy value. To get the value for ORG (i.e., Enterprise ID), contact your Whatfix Representative.

  • <ORG_ID> is case-sensitive.

  • Set the HP(hosted path parameter) value as the IP address of the machine where the server is hosted

  • Always remove the <> from the code.
    For example:
    If your ORG ID is 96532fe1ab and the the HP value is 1234567, add the code in the following manner,

    .\WhatfixPlayerInstaller.exe -Install -ORG 96532fe1ab -HP 1234567 -DD <Any>
    

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.