Hosting the control panel website separately

Requirements

If you want to host the control panel website on a separate server without requiring an additional license you will need:

  • Remote desktop or SSH access to the server
  • TCAdmin 2.0.152.1 or greater
  • TCAdmin configured with a MySQL database
  • Low latency from MySQL to the web server

Limitations

  • When you update TCAdmin the web server needs to be updated manually
  • Built in DDoS protection for the control panel is not available

Configure the master to accept connections from the web server

  • The master should already be configured and have a working control panel.
  • Go to Server Management > Servers > Master > Server IPs. Add the web server's IP but disable game and voice servers on it.

Installation on Linux

  • Install Mono and TCAdmin as you would normally. You don't need to run the configuration utility to enter a license.
  • Download the File:Hosting.zip, extract and edit with notepad.
  • Update the value of "TCAdmin.ConfigUtility.Database.ConnectionString" with the information required to make the connection to the MySQL server.
  • Save your updated Hosting.config to your web server in the path /home/tcadmin/Monitor/Hosting.config
  • Restart the web server's monitor:
/home/tcadmin/Monitor/monitor-service restart
  • After restarting the monitor you should be able to log in to the control panel and test the connection to the master in Server Management > Servers > Show Versions.
  • After the control panel is working correctly you can configure the control panel website to run with Nginx for improved performance.

Installation on Windows

  • Install TCAdmin as you would normally. You don't need to run the configuration utility to enter a license.
  • Download the file File:Hosting.zip and edit with notepad.
  • Update the value of "TCAdmin.ConfigUtility.Database.ConnectionString" with the information required to make the connection to the MySQL server.
  • Save your updated Hosting.config to your web server in the path C:\Program Files\TCAdmin2\Monitor\Hosting.config
  • On the web server go to Start > Services and restart the TCAdmin Monitor service.
  • After restarting the monitor you should be able to log in to the control panel and test the connection to the master in Server Management > Servers > Show Versions.
  • After the control panel is working correctly you can configure the control panel website to run with IIS for improved performance.
Retrieved from "https://help.tcadmin.com/index.php?title=Hosting_the_control_panel_website_separately&oldid=2277"