Don't add special bindings for FTP site
Shortly if you add bindings for ftp site, it will start to show abnormal behavior. You may not be able to browse it by IP address or name.
You may see error 530
530-Valid hostname is expected.
Win32 error: No such host is known.
Error details: Hostname didn't match any configured ftp site.
530 End
To resolve that simply remove any added bindings for the site and use the FTP name you added in the FTP creation wizard.
HTTP pass the host name in the headers that are passed between the client and server, but FTP does not support that option.
Comments
Anonymous
April 20, 2014
Good post Omnia, thanks :) If virutal hostnames are requirement then the username should be given in virtual_host_name|user_name syntax. Hope that helps someone ;)Anonymous
May 13, 2015
Ahmet Mithat Bostanc - Thank you for your post! Made my life easier :DAnonymous
October 14, 2015
Many thanks! It's worked!Anonymous
November 29, 2015
what if you are running multiple FTP sites using the same port number?