multiple wordpress sites on the localhost server
Posted by: ssrazvan (---.craiova.cablelink.ro)
Date: October 11, 2019 07:52AM

I want to work on some multiple wordpress sites on localhost. I don't know how to edit httpd-vhosts.conf from apache.
I've tried this:

# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www/testsite1"
<Directory "${INSTALL_DIR}/www/testsite1">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www/testsite2/"
<Directory "${INSTALL_DIR}/www/testsite2/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

Options: ReplyQuote
Re: multiple wordpress sites on the localhost server
Posted by: Otomatic (Moderator)
Date: October 11, 2019 09:21AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.