In IIS why do HTTP requests use the host header, and FTP requests do not
Posted
by
Keeno
on Server Fault
See other posts from Server Fault
or by Keeno
Published on 2011-03-08T10:12:02Z
Indexed on
2012/12/11
17:08 UTC
Read the original article
Hit count: 357
So....
In IIS, if you use the in-build FTP you need to combine the FTP host header in the FTP username e.g. www.hello.com|domain/username
So, the FTP program gets its "hook" from the username. However, you can connect to the FTP site using www.hello.com:21 over the FTP port.
Why then, doesnt the FTP service work the same way as the HTTP service?
IIS knows what site to serve back based on the host header after all....
Thanks!
© Server Fault or respective owner