Skip to main content
OCLC Support

Host (H)

Host (also written as H) specifies a specific protocol/ host/ port which should be rewritten by EZproxy.If http:/ / and https:/ / are both omitted, then EZproxy assumes that the protocol is http. If port is omitted, the default is 80 for http or 443 for https.

The Host directive also authorizes the specified protocol/ host/ port for use in Starting Point URLs, similar to the behavior of the URL directive.

The URL directive is an implicit Host directive, making it redundant to specify the same protocol/ host/ port in both a URL directive and a Host directive.

Qualifier Description
host Name of the host to authorize for proxying.
Option Description

May appear in front of a hostname to indicate that http should be used. This value is the assumed value unless https:// is specified.

https:// Must appear in front of the hostname if the host should be proxied using https.
port Specific remote port to authorize for proxying. If unspecified, defaults up to 80 for http or 445 for https.
listenport Specific local port to associate with this host. This option is primarily intended to assign a fixed port for use in proxy by port. When used with proxy by hostname, if specifies that the hostname should not be rewritten, and instead this host should be proxied using the base name of the EZproxy server of the specified port.
Host [[http:/ / | https:/ / ]]host[:port] [listenport]
Direct EZproxy to proxy access to,,, and
Title Some Database
Related directives
Domain, DomainJavaScript, HostJavaScript, URL
  • Was this article helpful?