Add aliase to ftp sites

Posted on 2013-11-19
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
Question by:mostabdo
  • 4
  • 3
LVL 35

Expert Comment

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.

Author Comment

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 !!!
LVL 35

Accepted Solution

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.

Author Comment

ID: 39661674
Is there any workaround thrugh the DNS ?
any rcord that can solve the issue ??
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

LVL 35

Expert Comment

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)

Author Comment

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....
LVL 35

Expert Comment

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.
LVL 16

Expert Comment

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.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup DHCP Server 8 95
Windows server 2003 bootable iso 9 46
Windows 2003 SID Regeneration in ESXi 6.0 5 67
OWA 2010 both internal, external not working 7 64
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now