This tutorial covers the adjustments to your Web server required for creating a reverse proxy.  This allows for your location landing pages to appear under a sub-directory of your Web site such as www.yourwebsite.com/locations as opposed to locations.yourwebsite.com or other address.

This tutorial is for the Apache Web Server running on Ubuntu Linux.  Other operating systems and Web servers will differ.

First, log in to your Web server via SSH.

Run the following to enable mod_proxy in Apache:

$ sudo a2enmod proxy_http

Then restart the Web server:

$ sudo service apache2 restart

Include the following directives within the VirtualHost block for your Web configuration.  This is commonly /etc/apache2/sites-enabled/000-default.conf on Ubuntu

SSLProxyEngine on
ProxyPass /locations https://<the address of your location landing pages>

This will pass requests to /locations to the URL provided, effectively returning the content at the URL provided, but under the /locations directory of your Web server.

That is all that's required to enable reverse proxy on your Web server.

Within MetaLocator, you may need to provide your full Web site url (including /locations) under Advanced > Customer Provided CNAME.

Did this answer your question?