
14
Last updated 11/28/2012
Chapter 2: Configuring the server
Configure the server for virtual hosting
Adaptors and virtual hosts
To host multiple tenants on a server, configure the server so that each customer has their own section. Administrators
can configure their own sections to serve their content most effectively. You can configure virtual hosting in several
ways, depending on your needs.
The server is divided into hierarchical levels: server, adaptor, virtual host (also called
vhost
), and application. The
server is at the top level and contains one or more adaptors. Each adaptor contains one or more virtual hosts. Each
virtual host hosts one or more applications. Each application has one or more instances. You can add adaptors and
virtual hosts to organize the server for hosting multiple applications and sites.
Note:
For information about registering applications with the server and storing media, see “
Configuring content storage
”
on page
49.
If you’re hosting multiple websites on a server, use virtual hosts to give customers their own root folders. For example,
you could use two virtual hosts to host www.test.com and www.example.com on the same server.
You can assign an IP address or a port number to an adaptor, but not to a virtual host. For this reason, use adaptors to
organize virtual hosts by IP address or port number. For example, if a virtual host needs its own IP address to configure
SSL, assign it to its own adaptor.
You can also configure one virtual host to run as an edge server and one to run as an origin server. This is called
running the server in
hybrid mode
.
Configuration folder structure
Each of these levels—server, adaptor, virtual host, application, and application instances—has distinct configuration
settings stored in XML files in the
rootinstall
/conf directory: Server.xml, Adaptor.xml, Vhost.xml, and
Application.xml. There are also configuration files for information about administrators and logging: Users.xml and
Logger.xml. The most important configuration parameters have been pulled out to the fms.ini file, which enables you
to use one file to configure the server.
Default structure of the server’s configuration (conf) directory
conf
Server.xml
_defaultRoot_
Adaptor.xml
_defaultVHost_
Application.xml
Logger.xml
Users.xml
fms.ini
Vhost.xml