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>



Comments
Add New Search RSS
Leave feedback
Name:
Your email:
 
Website:
Message Title:
Formatting:
[b] [i] [u] [url] [quote] [code] [img] 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Enter the text as you see it in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated (Saturday, 08 August 2009 00:31)

 

!!REMEMBER: Support Forums!!

I still keep getting requests for support in the comments of posts and unfortunately I cannot give adequate responses due to the fact there's limited space and it just isn't the right place for support.
I therefore am encouraging visitors to PLEASE go to http://forum.myownserver.info for any support related questions. You will NOT receive any spam or anything you don't specifically subscribe to! I'm very meticulous about this myself and if at any time you need help stopping notifications from posts you previously subscribed to, contact me and I will promptly fix the issue.

Thank you for your participation in this!

Open SourceApache HTTP Server ProjectMySQLPHP
Twitter Feed
Make a Donation
This site does not run ads nor does anyone fund it. The owner and author is unemployed and pays for it himself, so if you're feeling generous, please make a donation of any amount to help out. Thank you very much.

Powered by easy paypal donation

Survey
Which is better?
 
Search
User Login



Visitors


Countries

30.2%United States United States
8.5%United Kingdom United Kingdom
7.7%India India
4.7%Australia Australia
4.5%Canada Canada

Visitors

Today: 25
Yesterday: 192
This Week: 25
Last Week: 1223
This Month: 894
Last Month: 4933
Total: 52612


JoomlaWatch Stats 1.2.9 by Matej Koval