Open httpbind.conf.
See httpbind.conf File Location for information on finding this file.
Set the httpbind.config parameter to the list of IDs you want the gateway to use.
For each domain you need to specify a separate ID for this parameter. For example:
httpbind.config=gwdomain-id |
Where gwdomain-id is the identifier you want to use for the domain.
For example:
httpbind.config=siroe.com |
For each gwdomain-id you specify, add the following parameters to the httpbind.conf file:
gwdomain-id.domain=domain-name gwdomain-id.hosts=gateway-host gwdomain-id.componentjid=component-jid gwdomain-id.password=password |
Where:
gwdomain-id is the ID specified for the gateway in httpbind.config in the previous step.
domain-name is the domain in which the identified gateway runs.
gateway-host is a comma-separated or space-separated list of the fully-qualified domain name (FQDN) and port number of the gateway hosts that support this domain.
component-jid is the component JID of the gateway.
password is the password of the identified gateway.
For example, if the gwdomain-id is set to siroe:
siroe.domain=siroe.com siroe.hosts=gateway.siroe.com:5222 siroe.componentjid=http.gateway.siroe.com siroe.password=gatewaypassword |
See Gateway Domain ID Key Parameters for httpbind.config for more information about these key parameters.
Save and close httpbind.conf.
Restart the gateway using the tools provided by the web or application server.