- 16 Nov 2023
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Host content on a private server
- Updated On 16 Nov 2023
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
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,
-
Log in to the Whatfix Desktop Dashboard.
-
Go to the Production stage and then click Export Production Package.
-
In the Pop-up that appears, click Export.
-
Review the changes made to the content before exporting it and then click Next.
-
An email with a link to download the .zip file of the export package is sent to you.
-
Open the email you have received, click the .zip link and download the package in the location where you have hosted your own server.
-
Once the file is downloaded, unzip the package.
-
Once you open the orgs folder, the following files and folders are present inside it,
You can host a server from this location.
For more information about how to host a server, see How to Share Files On Local Network Using Apache File Server?
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,
-
Download the Player’s installation file: WhatfixPlayerInstaller.msi
-
Open the Command Prompt and type cd to change the current directory to the downloaded folder.
-
Run the following command to install the WhatfixPlayerInstaller file.
NoteAdd 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
-
Press Enter. If there is no error message, the installation is successful.
-
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.
- Start the Player. Your Whatfix content is fetched from your own servers, instead of from an external Domain.
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,
-
Open the Command Prompt and type cd to change the current directory to the downloaded folder.
-
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>