Cannot get FTP to work

What is the name of the domain?

karma-lab.com

What is the issue you’re encountering

Recently added my site to Cloudflare. Since that, I can no longer FTP into the site. I understand that Cloudflare does not handle FTP and you must disable the proxying on it, but I cannot seem to figure out how to do this.

What steps have you taken to resolve the issue?

I see that I have an A record named ftp. I tried setting this to “DNS Only” but it does not seem to make any difference. The record is indeed pointing at the correct IP address.

What feature, service or problem is this related to?

DNS records

Screenshot of the error

You indeed must use a DNS entry with the proxy shut off. However, you must also make sure you’re using that name in your FTP client when connecting. In your client software make sure the hostname to connect to is set to ftp.example.com and not just example.com.

2 Likes

Thank you, that did indeed work.

Do you happen to know how to add a record for ftp to a subdomain?

In other words, say I have a subdomain sub.example.com, that is hosted on a different host.

I have an A record for the subdomain that points to a differnet IP address, and it is working. But how can I do, for example ftp.sub.example.com? Would you add an A Record for ftp.sub ?

Add a record named bob (there’s nothing special about ftp as a name… if you want to keep track ftp-subdomain also works. In general I try to keep to first level subdomains because most SSL management tools have issues with send or third level domains and there really isn’t a need in most scenarios to go that route for the average use cases.

1 Like

Thanks. What kind of record? What should the target be?

The target will likely be the IP address of the target system… so an A record. But plenty of hosts don’t provide FTP access so you will need to confirm with the host what it should be (and if it is available).

1 Like

previously to Cloudflare, I could ftp into the subdomain on the other host. So it definitely was available. Now, it does not work, so I assume some mapping must be made.

so the A record would look like this?

type: A
name: ftp.subdomain
target: IP address of the other host

I tried this and it doesn’t work, but maybe there is propagation involved?

EDIT: DNS only, of course

That is correct. Can you give the real subdomain?

Is it a security issue here to share URLs or IP addresses?

If you would rather keep it hidden you can put it in here and I can look for it…
https://cf.sjr.dev/tools/check

It resolves OK, so as you’ve given your domain and the record is DNS only, the record is easy to find so you might want to remove the image…

dig +short ftp.xxxxx.xxxxx.xxx
192.xxx.xxx.xxx

If the FTP itself doesn’t work, that’s something you’ll have to work out on the FTP server.

1 Like

how do you remove the image? I can’t seem to edit anything. Is that a feature that is only enabled after you’ve been a member for a certain time?

I’ve flagged it as spam to get rid of it quickly for you.

2 Likes

thanks.

1 Like

Hey, and look at that - it just started working! Thanks!

Compare the IP address to what you had in your previous DNS provider and make sure that is the setting being used in your FTP client.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.