Created
November 14, 2017 08:52
-
-
Save alokstha1/ab7cd800f667cfda1b0253292b35101b to your computer and use it in GitHub Desktop.
Create a sub-domain in the wordpress sub-directory /etc/httpd/httpd.conf
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> | |
DocumentRoot "/var/www/html/first-wordpress/sub-domani" | |
ServerName local.wordpress.com.au | |
ErrorLog "/private/var/log/apache2/wordpress-error_log" | |
CustomLog "/private/var/log/apache2/wordpress-access_log" common | |
<Directory /var/www/html/first-wordpress/sub-domani> | |
Require all granted | |
Options Includes FollowSymLinks Indexes | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment