Usually, if domain points to our name servers(NS) you could use default settings given in cPanel to configure the FTP client(See Creating and Sharing FTP Accounts article). However, if your DNS set-up is a bit complicated(ex: it points to CloudFlare's NS, which then points the main domain example.com to our IP), it is a little bit harder to understand the process of configuring the FTP client. The main problem is in "Host"(or also called "Server"). By default, cPanel would give something like "ftp.example.com" for the Host. However, ftp.example.com(note "ftp" sub-domain) points to CloudFare and it tries to locate the ftp account on their side, which does not exit, we need to point the ftp client to our side.
There are 2 approaches:
- We could create a subdomain on external DNS to also point ftp.example.com to our IP, but this would take time.
- You can get the current host where your files and cPanel is located(Ex: host3.totalwebservices.net). To find your server's host look at the URL when you are logged in to your cPanel(see attachment).
Once you know the host, use this host instead of given ftp.example.com shown in cPanel. See attachments: