Knowledge Base


Knowledge Base / XFilesharing Pro / Troubleshooting

Error: .cgi file not found when saving file server settings

02/08/2018 11:17 AM
Question

Answer

In the case of missing fs.cgi: your file server is not able to properly resolve your main server's DNS name
In the case of missing api.cgi: your main server is not able to properly resolve your file server's DNS name

Q: I logged into corresponding server with root SSH and checked by running 'ping <domain_name>'.
To my surprise, I have found that corresponding domain name is getting resolved to a completely different IP which I don't know at all!
But on my home machine everything resolves correctly.
How could I fix that?

A: You can pin a specific domain name to a specific IP by adding a corresponding record into your server's /etc/hosts file.
If you're not sure about editing /etc/hosts file, please report this case to your system administrator (if you have any) or hoster (if you don't have any or if you're a system administrator of this server).