Solved

Subdomains on FTP

Posted on 2006-06-14
6
493 Views
Last Modified: 2013-11-29
I am using 'Serv-u FTP Server' program to run my own FTP server. The question is how to create subdomains on Windows XP? So, instead of using 'ftp://localhost' as my primary address, I could also use 'ftp://my-name.localhost'. I'm new to this, so I'm just experimenting.
0
Comment
Question by:BMMB
[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
6 Comments
 
LVL 1

Expert Comment

by:bryanford
ID: 16908926
can you please be a bit more specific?

is there a reason you want my-name.localhost?

without a DNS service, you wont be able to.

Are you accessing your FTP site over the internet?

if so, what do you type?

Localhost is specific to the current machine you are on.
0
 
LVL 16

Expert Comment

by:The--Captain
ID: 16909389
If you're FTPing to yourself, you can adjust your hosts file and be done.

If that's not what you're trying to do, I think we need quite a bit more clarification as to your intended scenario...

Cheers,
-Jon
0
 
LVL 3

Expert Comment

by:papimichel
ID: 16909488
I think what you're trying to do is not possible, unless -
you add another ip address to your server and define a new FTP server and assign it only to the new address.
that way, you can have two FTP servers on one machine, and access them from different ip's.
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 

Author Comment

by:BMMB
ID: 16911438
I want each user to have their own "anonymous" account. That's, pretty much the reason, why i want to create separate domains for each user.
Instead of 'localhost', i guess there could be any IP address (or domain name assigned to it).
The users would have to access my FTP site over the Internet.
Say, 'user1' wants to host and share his files on my FTP with his friends. Instead of giving out his own 'userName' and 'password' for his FTP account, he could provide his friends with a link to his FTP site for anonymous access.
E.g.
ftp://user1.domain.com
0
 
LVL 3

Expert Comment

by:papimichel
ID: 16911482
in that case create subfolders in the ftproot directory, and use NTFS permissions to give specific users special permissions for their folder only.
all users will have to connect to the same server, with their own username, and they will see only their directory.
0
 
LVL 7

Accepted Solution

by:
Okigire earned 100 total points
ID: 16912480
I would say this is easier to do on different ports than different subdomains.  As far as I know, Serv-U doesn't have the feature to recognize the incoming name (user1.domain.com, vs user2.domain.com) on the same machine/box.  For subdomains themselves, you can send each user a hosts file with the proper information, which will direct userX.domain.com to your IP, or better yet - use a free DNS server.

I would suggest you set it up on different ports, as it's much easier.  Standard FTP port is 21, and you can use that maybe for your own use or NON-anonymous accounts.  For each user you can setup a server on that port, User1=31, User2=32, User3=33, etc... the URL you'd send them would then be:

ftp://domain.com:31
ftp://domain.com:32
ftp://domain.com:33
...etc...
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DFS replication issue 7 69
Configuring NAT in ASA ver. 9.1 4 51
HP Storage and Cisco Nexus 4 74
URL question - What is port 8888? 5 112
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

752 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