Skip to main content

Can't Log In to SFTP Using the Domain Name as Host



  • cPRex Jurassic Moderator
    Hey there! Yes, I would almost certainly bet this is related to the previous SSL issues you experienced.
  • vatra

    If you're using Cloudflare, the domain's DNS A records are proxied through Cloudflare and therefore resolve to their IPs, rather than your server's IP. This is the reason why you can't log in through SFTP by using the domain name as a host.

    To log in via via SFTP using some host, whether it be a domain, server, or some custom-created DNS A record just for this purpose, you need to disable its proxy on Cloudflare. In my case, I've disabled proxy for my server's hostname.


Please sign in to leave a comment.