cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up an internal FTP server

alexlush
Member

Morning all,

 

We are trying to set up an FTP server within our organisation in order to allow transfer and sharing of large files. This is working fine internally but i would like to use the address ftp.mycompany.com, this address is not working outside the LAN.

 

I have added a DNS A record to point ftp to the exteranl IP address but this doesn't seem to be working. Do i need a URL record in DNS as well, if so, I try to set the following:

 

Type: URL

Key: ftp

Value: [external ip address]

 

But I get an error when saving, something about needing to input a URL.

 

Any idea why this isn't working?

 

If someone from BT wants to assist then give me an email address and I will post specific IPs and domains.

 

Thanks in advance.

 

 

Alex

1 ACCEPTED SOLUTION

Accepted Solutions

Stephenc
Master User

Hi Alex,

 

Your A record seems to be setup correctly.

 

The ability to ping your external ip is not a neccessity, especially if you have more than one, they are configured by default not to respond.

 

Best thing to do would be to ensure that port 21 is open in your router and any software firewalls you have on the server.

 

If this has been done, ensure the server is configured correctly for the ftp service and check permissions.

 

You can check if the port and configuration are correct by going to a site such as:

 

http://ping.eu/port-chk/

 

Put in your ip address and port 21, if the port is open and the server is configured correctly the port will show open.  If it shows closed, you will need to doublecheck your internal setup.

 

Steve

View solution in original post

3 REPLIES 3

abirhasan
Master User

As your talked you have entry  the address ftp.mycompany.com in your DNS server. That's fine. Please make sure that you can ping the address  ftp.mycompany.com from outside your LAN. 

 

__________

 

 

abirhasan

Stephenc
Master User

Hi Alex,

 

Your A record seems to be setup correctly.

 

The ability to ping your external ip is not a neccessity, especially if you have more than one, they are configured by default not to respond.

 

Best thing to do would be to ensure that port 21 is open in your router and any software firewalls you have on the server.

 

If this has been done, ensure the server is configured correctly for the ftp service and check permissions.

 

You can check if the port and configuration are correct by going to a site such as:

 

http://ping.eu/port-chk/

 

Put in your ip address and port 21, if the port is open and the server is configured correctly the port will show open.  If it shows closed, you will need to doublecheck your internal setup.

 

Steve

alexlush
Member

Thanks Stephenc and abirhasan for your comments and advice.

This seems to be working now port 21 shows as open using the test you suggested.

 

Its a difficult one to test as I have to do it from home (as at work I'm ont he local LAN so it always works!!).

Seems to be working now as I get as far as a uname and password prompt when i visit the URL so i think the DNS/IP side of things is working fine (which is what the OP was about).

 

Thanks again for your help.

 

Alex.