« Previous Next »

Thread: FTP Virtual Hosting

Last post 03-26-2008 9:45 PM by steve schofield. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 03-26-2008, 7:15 AM

    • oav
    • Not Ranked
    • Joined on 03-26-2008, 10:32 AM
    • Posts 1

    FTP Virtual Hosting

    Hi,

    I just installet IIS 7 and want to set up virtual hosting for my FTP-sites.

    My goal is to direct users from whatever dns-name they ask to connect on. I use one IP and different dns-adresses.

    eg.

    Scenario 1: if I connect to ftp-dev.company.com, direct the dedicated user to this site.

    Scenario 2: if I connect to ftp-prod.company.com, direct the dedicated user to this site.

    Scenario 3: if I connect to the ip-adress, I want the users not to be able to connect at all.
     

    I have dedicated users to both my sites, locally configured since this is on my DMZ-zone, on a 2008 Web Server Edition.

    the direction of the users to correct sites works, but only for the user logon, NOT because of the DNS-name. The username I have to use is the "ftp-dev.company.com|devuser" and I get logged on to the desired site. BUT, when I try to log on to ftp-prod.company.com or the IP-adress with "ftp-dev.company.com|devuser" I get connected to ftp-dev.company.com.

    This is not virtual hosting, but user redirecting.

    Has anyone made virtual hosting work as wanted?

    I also want the username to be just "username" not "hostname|username".  

     

     

    regards

    Ole
     

  • 03-26-2008, 9:45 PM In reply to

    Re: FTP Virtual Hosting

    The 'virtual hosting' doesn't work like 'host-headers' like HTTP.  For people to use virtual hosts, the login has to be virtualHostName|Username.

     

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (2 items)
Microsoft Communities