I feel like an absolute numpty asking this question, but I've struggled with it for literally years and I still have no idea what the answer is.
Basically I have never been able to log in with a new user that I've created in cPanel > FTP Accounts. This is consistent across several different domains and several different hosts, so presumably the issue is me.
Only I just go ahead and add a new user, then try and log in with the given information:
Host: ftp.domain.com
User: [email protected]
Port: 21
Protocol: FTP
Encryption: Use explicit FTP over TLS if available
I've tried using SFTP; using plain FTP; using Filezilla, CoreFTP and Dreamweaver; setting the start folder as /public_html and /account; downloading and importing the config files that cPanel generates.
I have never had this work for me, not even once. Usually I just end up using the default FTP account, which is why I've never found an answer to this issue.
The errors are always along the lines of:
Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known"
No such host is known
Host does not exist
I have searched extensively on this topic, both today and in the past and never found any solution that works.
Can anyone spot WTH I'm doing wrong?
According to the error you are getting it is an issue with hostname. When setting up account with WHM ftp.domain.com DNS record might not have been created. So from cPanel > Advanced Zone Editor check if you have ftp.domain.com has A record of your server or not if not add ftp.domain.com to your DNS.
Sometimes Encryption can also cause issue but not the one you have described. So try the following:
Host: domain.com
User: [email protected]
Port: 21
Protocol: FTP
Encryption: Only use plain FTP (insecure)
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With