# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot "E:/xampp/htdocs"
<Directory "E:/xampp/htdocs">
Options +Indexes FollowSymLinks +ExecCGI +Includes
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
## My first domain ##
<VirtualHost *:80>
ServerName myfirstdomain.com
ServerAlias www.myfirstdomain.com
DocumentRoot "E:/xampp/htdocs"
</VirtualHost>
## My second domain for refactoring the FOBG site ##
<VirtualHost *:80>
ServerName refactor
ServerAlias www.refactor.com
DocumentRoot "E:/xampp/htdocs2"
<Directory "E:/xampp/htdocs2">
Options +Indexes FollowSymLinks +ExecCGI +Includes
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.