Last active
October 11, 2015 12:07
-
-
Save DavidAntaramian/3856065 to your computer and use it in GitHub Desktop.
WordPress Networks and Domain Mapping on Apache 2.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName blogs.example.net | |
# Blogs with their own domain | |
ServerAlias fred.example.net | |
ServerAlias maria.example.net | |
# External domains can be added, so long as they resolve to this server | |
ServerAlias excellentcustomerservice.example | |
ServerAlias www.fredscoolblog.example | |
DocumentRoot /var/www/blogs.example.net/html | |
ErrorLog /var/log/apache2/blogs.example.net-error.log | |
CustomLog /var/log/apache2/blogs.example.net-access.log combined | |
Options +FollowSymLinks | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment