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:
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:
As root user
/etc/httpd/conf.d/$BACK_OFFICE_HOST.conf
<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.