ftpdnsweb-hostingfilezillanameservers

Unable to connect my server with Filezilla after changing my name server to cloudflare


Hi I recently activated cloudflare to my domain, and I changed my name server pointing to cloudflare.

After changing this, I couldn't able to connect my server through filezilla. When I changed my name server to old name server, it is working.

So the real problem is with the name server pointing to cloudflare. So can anyone tell me how to solve this. Thanks in advance :)


Solution

  • The problem is not your name server pointing to Cloudflare but that you are trying to connect with FTP to the IP address of the Cloudflare endpoint instead to your own server.

    To protect you website Cloudflare takes over the hostname and points it to their own servers. This is done by setting up Cloudflare as the name server. But Cloudflare only handles HTTP/HTTPS and no FTP connections. Thus you either need to explicitly use the IP address instead of the hostname when connecting to your FTP server or you have to use a different hostname (like ftp.example.com) and advice Cloudflare to provide the original IP address for this name.

    See also Using FTP with CloudFlare (Cloudflare support).