How can you learn the FTP address of "whatever.com"?

As I understand it, when you type in a domain name, say for example, www. whatever-the-name-is .com, there is some central computer registry that knows that whatever-the-name-is .com is in fact an FTP (file transfer protocol for those wondering) server with an address like 464.576.667. or something.

Is there any way to figure out what the FTP address is if I only have the domain name to work from?

Thanks,

Inky

Easy way:

From a command line, while you’re connected to the Internet, type ping ftp.domain.com. You’ll get back the IP address of their ftp host.

Or just ping domain.com as most ftp hosts resolve to the domain A record anyways.

Not so easy way:

You could do an nslookup from a Unix commmand line, type set q=any, and then domain.com to get the authoritative name server. Then type server=nameserver.com, hit enter, and type ls -d domain.com and get the entire zone file, which will give you the A record, the ftp host, the mail servers and everything else.

If they don’t have a zone file yet, then you have to check with the domain owner or hoster to find out the IP address.

Dammit, dammit, dammit. I want a preview function.

Inky-, the short answer is that the FTP IP address is almost always the same as the domain’s main (or A record) IP address, and you can get that with a ping.

FTP is file transfer protocol. HTTP is hypertext transfer protocol. IP is internet protocol. All servers on the internet have an IP address. This is a sequence of three numbers between 1 and 255 separated by dots. For example, the remote access server I use at my school is 128.113.113.33. Many servers, and virtually all web servers have a domain name. When you connect to a server using its domain name, you must first connect to a DNS (domain name server) which resolves the domain name into an IP address. You have to specify the IP address of the DNS you want to use under network properties.

If you want to find the IP address of a web (HTTP) server, go to a DOS prompt and type “ping http://www.something.com”. It will return the IP address of the www.something.com web server. Often, a place that has a web server will have an ftp server as well. This may or may not have the same IP address as the web server. If it does, you can simply ftp it at www.something.com. In general, if someone is operating an anonymous ftp server (i.e. one that doesn’t require an account on it for you to log in), it will most likely be on a separate computer than the web server, and will probably have a different IP address.

WaterJ…you go to RPI?

Whatcha want the FTP address for? ANyway, there are specific programs that can make it easier for you at download.com if you search for say, FTP, I use wspingpro.

Say, can’t you just change the http? e.g. http://www.dogs.com
ftp://ftp.dogs.com