Created
June 4, 2014 13:54
-
-
Save strangerstudios/75899c6cf673cb1d1415 to your computer and use it in GitHub Desktop.
sample apache vhost.conf
This file contains 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
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerAdmin email@domain.com | |
ServerName domain1.com | |
ServerAlias www.domain1.com | |
DocumentRoot /var/www/vhosts/domain1.com/httpdocs/ | |
ErrorLog /var/www/vhosts/domain1.com/logs/error.log | |
CustomLog /var/www/vhosts/domain1.com/logs/access.log combined | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerAdmin email@domain.com | |
ServerName domain2.com | |
ServerAlias www.domain2.com | |
DocumentRoot /var/www/vhosts/domain2.com/httpdocs/ | |
ErrorLog /var/www/vhosts/domain2.com/logs/error.log | |
CustomLog /var/www/vhosts/domain2.com/logs/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment