How to create second/multiple websites using Apache/XAMPP - Video Tutorial
HOW TO CREATE SECOND/MULTIPLE WEBSITES IN APACHE - VIDEO TUTORIAL
This is a video tutorial showing you how to set up multiple websites on your apache server. You need to first have Apache installed on your computer.
I've used XAMPP to install Apache in this tutorial, so if you're using a direct install from an Apache download, your's may look slightly different. If you want to know more about how this works and a better explanation, please read the beginning of the written tutorial here:
http://www.myownserver.info/index.php/step-4-additonal-settings/23-multiplewebsites.html
In this video, I refer to pre-configured Vhosts that I copy/paste and that code can be found just below this video.
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "B:/xampp/htdocs"
<Directory "B:/xampp/htdocs">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
## My First Domain ##
<VirtualHost *:80>
ServerName myfirstdomain.com
ServerAlias www.myfirstdomain.com
DocumentRoot "B:/xampp/htdocs"
</VirtualHost>
## My Second Domain ##
<VirtualHost *:80>
ServerName myseconddomain.com
ServerAlias www.myseconddomain.com
DocumentRoot "B:/xampp/htdocs2"
<Directory "B:/xampp/htdocs2">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
## My Third Domain ##
<VirtualHost *:80>
ServerName mythirddomain.com
ServerAlias www.mythirddomain.com
DocumentRoot "G:/website/mythirddomain"
<Directory "G:/website/mythirddomain">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Last Updated (Saturday, 08 August 2009 00:31)






