Skip to main content

Google listing FTP URLs

Comments

5 comments

  • SageBrian
    what if you just remove the cname for ftp, so ftp.domain.com doesn't resolve anymore?
    0
  • bear
    Thanks, but there is no CNAME record. By default, accounts get set up with FTP pointing to the same IP as the main domain it's connected to. I'd assume because of that, the webserver assumes ftp.domain.com is simply another way of reaching domain.com or www.domain.com, so happily shows folders/files if asked.
    0
  • cPanelMichael
    Hello, There's similar discussion of this on addon domain names on the following thread: Is Addon domain affecting SEO You should be able to use the same workaround instructions. Note you can also edit the DNS zone templates per the instructions in the following document: Edit Zone Templates - Documentation - cPanel Documentation Thank you.
    0
  • bear
    I suppose I don't quite follow how this relates. In that linked thread, they state that if there is no index file in the document root, that exposes all folders to Google and the world. There is not only an index file, but we disallow directory indexing server wide, and this is finding pages via ftp.domain.com which is not listed anywhere on the site, ever, as a means of reaching content. Also not following how editing the zone template will change what's happened? The domain in question is on a dedicated IP (so FTP would resolve there too, obviously), and pages are being requested/served on the perceived subdomain of "ftp". Since FTP in the DNS record points to the IP of the account via A record....what change would resolve this issue permanently and not disrupt actual FTP? I've taken steps to redirect HTTP requests like this, but if Google feels FTP is a valid thing to spider, it's going to come up again, I should think, and not only involving my site.
    0
  • cPanelMichael
    Since FTP in the DNS record points to the IP of the account via A record....what change would resolve this issue permanently and not disrupt actual FTP?

    You could remove the "A" record for "ftp" and advise your customers to access FTP using the domain name itself, or any host that resolves to the server's IP address. However, keep in mind this is more of a function of how Google indexes websites. Google explains how to ensure content is not indexed at: Remove URLs Tool - Search Console Help Thank you.
    0

Please sign in to leave a comment.