Created
May 31, 2013 21:07
-
-
Save 40/5688010 to your computer and use it in GitHub Desktop.
Create new subdomain
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
#replace test.myaddress.com with subdomain | |
<VirtualHost *:80> | |
ServerName test.my.address.com | |
ServerAdmin [email protected] | |
DocumentRoot /var/www/test.my.address.com/ | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
</Directory> | |
<Directory /var/www/test.my.address.com/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from all | |
</Directory> | |
ErrorLog ${APACHE_LOG_DIR}/test.my.address.com.error.log | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
CustomLog ${APACHE_LOG_DIR}/test.my.address.com.access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment