Submit a ticketCall us

Announcing NPM 12.2
With NPM 12.2 you can monitor your Cisco ASA firewalls, to monitor VPN tunnels for basic visibility and troubleshooting tunnels. NPM 12.2 also uses the SolarWinds Orion Installer so you can easily install and upgrade one or more Orion Platform products simultaneously.
See new features and improvements.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > Serv-U File Server Administrator Guide > Domain overview > Virtual hosts

Virtual hosts

Table of contents
No headers
Created by Anthony.Rinaldi_ret, last modified by Anthony.Rinaldi_ret on Jul 20, 2016

Views: 39 Votes: 0 Revisions: 2

Virtual hosts provide a way for multiple domains to share the same IP and listener port numbers.

Normally, each domain listener must use a unique IP address and port number combination. By using virtual hosts, you can host multiple domains on a system that only has one unique IP address without having to use non-standard port numbers. The domains can share the same listeners by proper implementation of virtual hosts. This feature is only available when the current license supports hosting multiple domains.

To configure virtual hosts for a domain, click Add under Domain Details > Virtual Hosts, and then type the virtual host name for the domain. The virtual host name is usually the fully qualified domain name used to connect to the domain, such as ftp.Serv-U.com.

The method used by a client to connect to a specific virtual host depends on the protocol that is used to connect to Serv-U.

FTP

FTP users can use one of two methods to connect to a specific virtual host. If it is supported by the FTP client, the HOST command can be issued to Serv-U before login to identify the virtual host. Otherwise, the virtual host can be provided with the login ID in the following format: virtual_host_name|login ID. The virtual host name is entered first, followed by the vertical bar character ('|'), then the login ID.

SFTP

SFTP users who want to connect to a specific virtual host must use the specially crafted login ID format as described in the FTP section.

HTTP

For HTTP users, the browser automatically provides Serv-U with the host name that is used to reach the site, allowing Serv-U to identify the virtual host from the fully qualified domain name entered into the navigation bar of the browser.

Case File: Using virtual hosts

Multiple domains are being configured on the same server, which has one IP address and two Fully Qualified Domain Names (FQDN) pointing to it. Because users connecting to both domains must use port 21 for connections, configure virtual hosts on each domain so that Serv-U can distinguish between requests for the two domains. After setting up the same listener properties on each domain, open the Virtual Hosts page, click Add, and then type the FQDN that clients should use to connect to the domain (such as ftp.Serv-U.com).

After connecting to the server with FTP, users can send a HOST ftp.Serv-U.com command to connect to the appropriate domain on the File Server. FTP and SFTP users can also identify the virtual host through their login ID of ftp.Serv-U.com|login ID. If connecting through HTTP, users can connect to this domain by visiting http://ftp.Serv-U.com.

Last modified
10:41, 20 Jul 2016

Tags

Classifications

Public