Configure Apache to include the Profile Domains config
The next step is to update the Apache config for your domain so it will "Include" the configuration that is generated by the Profile Domains module. This step only needs to be done once.
We will use the Apache config for Jamroom.net as an example.
- Log in to your server via SSH and go to the /etc/apache2/sites-available directory and find the Apache config file for your site - i.e. "001-jamroom.net.conf" (use the name of YOUR config file on YOUR server)
Edit this file in your editor - i.e. "pico 001-jamroom.net.conf"
Add the following lines to the config file, right under the ServerName
with the ACTUAL DIRECTORY your Jamroom is located in. If your Jamroom is in /var/www it would be:
Save the file