If you follow this guide you will be allowing access from the internet to a folder on your computer.
DON'T SAVE YOUR BANK STATEMENTS IN SAID FOLDER!
What is Whazzup.
The whazzup.txt file shows information about a server, usually FSD servers like Vatsim and IVAO but in this case a JoinFS Hub.
Various programs are able to read this type of file to show information from it.
For example a map or Servinfo.
But in order to show the information, the program must be able to read the whazzup file.
If the file is on the same computer as the program then it's not normally a problem as you can point the program to the file (ie c:\whazzup.txt) and all is well.
But if the program is say a map on a webhosts server and your whazzup is a file on your PC, you will need to make the file accessible for the map to read.
One way to do this is to install a webserver on your PC to... well serve files to the web.
Webservers do not always need to be big and complex as you might find with webhosts, but can be fairly small programs as users of FSHost will know.
FSHost has a small webserver built in which is why you can see information on the internet from your FSHost server.
There is lots of webserver software available and the one I've chosen below is the first I came across during a Google search, its nothing special or my favourite etc etc.
How to share your whazzup file.
1. Download and install a webserver.
2. After the installation is complete run the program and Input your LAN IP address into the Webserver Host/IP section.
3. Choose a port, ports 80 and 443 are the default web ports and are the best to use if you are not already using them.
4. In the Document path section select the folder you would like to share on the internet.
EVERYTHING IN THIS FOLDER WILL BE AVAILABLE TO EVERYBODY ON THE INTERNET.
DO NOT CHOOSE C:\
I have chosen C:\Users\YOUR NAME\AppData\Local\JoinFS as this is where JoinFS outputs the whazzup.txt file.
We want to share the whazzup.txt file so unless you can copy the file every X mins to another folder this is the folder to set.
5.OPEN UP THE PORTS YOU SET ABOVE (80 & 443) IN YOUR ROUTER and point them to the LAN IP (you set in step 2).
6.Run the webserver.
If you've setup the server as above when you type your EXTERNAL IP (shown in JoinFS) into a browser you should get a message saying NOT FOUND.
If you type http://YOUR_EXTERNAL_IP/whazzup.txt (if you set a port other than 80 your address will need to be http://YOUR_EXTERNAL_IP:PORT_YOU_SET/whazzup.txt) into your browser, it will show you your whazzup file similar to below.
VERSION = 1
RELOAD = 1
UPDATE = 20170307124634
CONNECTED CLIENTS = 5
CONNECTED SERVERS = 0
Now the whazzup.txt is available on the internet it's time to add a map.
This bit is easy.
Adding a map for JoinFS
1. Download a map from here.
2. Unzip the download and drag the map folder to C:\Users\YOUR NAME\AppData\Local\JoinFS
So the whole address would be C:\Users\YOUR NAME\AppData\Local\JoinFS\map
3. From the zip file drag index.html to C:\Users\YOUR NAME\AppData\Local\JoinFS
This file will automatically send everybody to your map when they input your external ip into their browser.
4. Go into the map folder and open up settings.php in notepad.
Edit the options in there for your map.
define('WHAZZUP_URL','http://roo.servebeer.com:80/whazzup.txt');//Where your Whazzup file is.
define('UPDATE_FREQ',60000);//map refresh time in ms (60secs = 60000)
define('API_KEY','YOUR GOOGLE MAPS API KEY'); //Get a google maps API key, although it seems one isn't needed lately.
5. In your browser go to http://YOUR_EXTERNAL_IP (or http://YOUR_EXTERNAL_IP:port or http://YOUR_EXTERNAL_IP/map)
and you will see your map.
If you would like to host you map on your hosting plan then that can also be done but you would need the small webserver to serve your whazzup file to that map.
My map examples...
Can be awkward to setup and not as easy as my example above as it uses a database.
You can download it from here https://www.flightairmap.fr/
Easiest to setup and get going.
Install as above.
Download here https://drive.google.com/file/d/0B8q-ue ... sp=sharing
1.Create a new file called status.txt in the same folder as whazzup.txt.
2. Add the following line of text to status.txt
3. In Servinfo set the address to http://YOUR_IP/
I hope I've helped a few communities to get a map up and running.