Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > Serv-U Managed FTS & FTP Documentation > 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: 282 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

Tags

Classifications

Public