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