?
Solved

Add aliase to ftp sites

Posted on 2013-11-19
8
Medium Priority
?
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 36

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 36

Accepted Solution

by:
Kimputer earned 2000 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
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 

Author Comment

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

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 36

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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

765 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