Set the DNS alias for the Back Office - Fluid Topics - 3.11

Install Fluid Topics on a Single Server

Operating system
RHEL
Category
Technical Notes
Audience
public
Version
3.11

This step is to be performed on the server hosting the Back Office environment.

To set a DNS alias for a Fluid Topics Back Office:

  1. Create the following file:

    As root user

    /etc/httpd/conf.d/$BACK_OFFICE_HOST.conf

  2. Add the following lines:

    <VirtualHost *:80>
    ServerName $BACK_OFFICE_HOST
    DocumentRoot /var/www/html/bo-portal/
    Header always append X-Frame-Options SAMEORIGIN
    <Directory /var/www/html>
    Options -Indexes
    Order deny,allow
    Allow from all
    </Directory>

    ProxyRequests Off
    ProxyPass /bo-ws http://localhost:36080/bo-ws
    AllowEncodedSlashes On
    </VirtualHost>

After setting the DNS alias, restart httpd by running the following command:

As root user

systemctl restart httpd

Once the step is performed, the Back Office can be accessed via the DNS Alias that has been previously set for it (example: http://my-fluid-topics-back-office.com). The DNS Alias is the responsibility of the customer.