Multiple FileMaker Server Machines
Multi-Machine Server Configuration: FileMaker Server
If you have a multi-machine server configuration where your Web Server and Web Publishing Engine are on separate machines, then you'll need to make a few changes to the PHP relay file and your Source configuration in DayBack's Administrator Set-Up.
In this scenario, you want to put the PHP relay file in your Web Server root directory. When setting up your Sources in Administrator Settings, you will want to reference the IP address or Domain name of your Web Server. Essentially, DayBack makes its requests to the PHP relay file, which then relays these requests to your FileMaker Server's Web Publishing Engine. The changes that need to be made in the PHP relay file depend on whether your FileMaker Server is set to require secure connections.
SSL Not Required: if your FileMaker Server does not require SSL connections, and the Web Publishing Engine and Web Server are on separate machines then you want to change the $serverAddress variable to the IP address of the Web Publishing Engine. For example:
//FMS WPE address $serverAddress="192.168.1.123";
SSL Required: if your FileMaker Server does require SSL connections, and the Web Publishing Engine and Web Server are on separate machines then you want to change the $serverAddress variable to the FQDN (Fully Qualified Domain Name) that is associated with the SSL Certificate. You will also need to change the $port variable to 443 and the $http variable to "https". For Example:
//The FQDN for our FMS $serverAddress="yourserver.yourdomain.com"; //https protocol required by FMS $http="https"; //SSL required so go through SSL port 443 $port=443;
What if my PHP relay file isn't in the root directory?
Some third-party hosting providers may have a special location for things like the PHP relay, so confirm with your hosting provider what URL should be used to access the PHP file. Then, the path can be added into the PHP relay filename field in the source settings, so the IP address field stays unchanged, but the relay file field might be SomeFolder/SomeSubFolder/emgsdayback.php