Apache configuration
Example of an apache configuration to host pages under your existing server
Step 1: Enable mod proxy on the server
# enable apache module for proxy
sudo a2enmod proxy
sudo a2enmod proxy_http
# restart apache
/etc/init.d/apache2 restartStep 2: Modify sites-available config file
<VirtualHost *:80>
ServerName customerdomain.com
# continue existing VirtualHost configuration items..
ProxyPreserveHost On
# at beginning of your existing <Location> directive rules
ADD_YOUR_LOCATION_DIRECTIVES here
# continue existing configuration items..
</VirtualHost>Example Location directives
Last updated
Was this helpful?