Solved

Add aliase to ftp sites

Posted on 2013-11-19
8
314 Views
Last Modified: 2014-02-02
I have a ftp site on IIS 6 this ftp can be accessed by all users as the directory contains some documents and applictions for downlaod ( no special directory for each user).

the ftp is accessed by ftp://ServerName.Doamn/name

i need to access the ftp with alias instead of the server name (or IP), i managed to do this in http sites CNAME records in DNS...but i can not find how to do it n FTP.

Please advice
0
Comment
Question by:mostabdo
  • 4
  • 3
8 Comments
 
LVL 35

Expert Comment

by:Kimputer
ID: 39659061
DNS queries are not solely bound to HTTP. Using the same method as before (how you succeeded with HTTP) should yield the same results, even for FTP.
0
 

Author Comment

by:mostabdo
ID: 39659097
ok...but when i creted the CNAME in DNS i used the same alias in the http host header , but i didnt find any hostheader for ftp !!!
0
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 39659114
Sorry, I thought you had DNS problems, but now I see what you mean. It is correct what you said about the headers in HTTP, and there's no solution for that in FTP (as the username decides which folder it will be dropped in).
The only thing you can have seperate FTP sites, is by using other ports (one FTP defined at port 21, and one defined at port 2121). This is not a DNS or IIS issue, it's a protocol issue, as HTTP protocol lets the client SEND the host header, the FTP protocol has no such command.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:mostabdo
ID: 39661674
Is there any workaround thrugh the DNS ?
any rcord that can solve the issue ??
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 39661785
No, as I said, it's the protocol, in the ftp conversation between client and server, the hostname used is not mentioned. There's no way the server knows what to do based on hostname, only on username and password. Therefore the only distinction you have left is port number (if you set up one more server on another listening port)
0
 

Author Comment

by:mostabdo
ID: 39662614
I just need to highlight that my main concern is not to use the host server name or IP in the ftp site access....
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 39662695
Then just use the same cname you made earlier. It worked for http, meaning it should work for your ftp (unless the client is doing something weird, in which case you should try another client). No changes needed on the ftp server.
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 39662943
Well I suppose you could bind another IP address and then change the FTP server config to only use that particular IP address. However, that doesn't get you anywhere you can't get by following what Kimputer already suggested.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question