- 04 Jul 2022
- 2 Minutes to read
Troubleshooting
- Updated on 04 Jul 2022
- 2 Minutes to read
Sometimes things... just do not work. Webhosting companies are different, and also Rust servers sometimes return different information. This section should help you out in case you have any issues while setting up the website!
Does this website work with free hosting?
In most cases, no. The script does require open ports as well as the sockets PHP extension, which is why it will not work with most free hosting providers.
How do I upload files with FTP?
After you have bought your domain and webspace from a hosting company, you will get access to a hosting panel. In that hosting panel you usually have access to your FTP information. Some panels do offer web FTP. You can either use that web FTP to upload the files in the ZIP or download a program called FileZilla.
My server shows up as offline, even though it is online
This is the most common problem if you use the SourceQuery Data API, please check through those points if that is the case for you:
- Check your IP and Port in the config file. Do not use the RCON IP/Port, but in 99.9% your gameserver information you would use to connect in Rust.
- Check if sockets are enabled. This can be done with the Compatibility Check Download. Simply upload this file to your webspace and check your domain with check.php in the URL to see if your webspace is compatible.
- If everything above is checked, make sure your webhosting allows connection to external servers not within the same network. Some hosting companies do have a firewall and may block the connection to your server. If you have access to this firewall, enable inbound UDP traffic for the IP/Port(s) of your gameserver(s).
- If nothing works, please contact your hosting provider with the following information: I can't connect to the server (IP:PORT) with PHP sockets. Is the socket extension enabled or do you use a firewall to block specific ports? I need outbound UDP traffic enabled for IP:PORT.
If nothing of this works, use the BattleMetrics Data API instead by changing it in your config file.
My server information is available, but my server banner does not load
In rare cases it seems like the server has not saved the banner in the configuration file when it is provided via the server starting parameters. A workaround for that is to log-in on your server, set the server.headerimage variable to the link to your banner and then writecfg to save the config. Your banner will now show up.
If you made sure that your server config is correct you may want to setup a testserver with your current startup script and config and start changing the description and a few other values. We sadly haven't found out yet why that happens sometimes, and its different from server to server.