Multiple Domains

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Multiple Domains

Postby gerry_4 » 02. July 2007 16:22

I host on my PC test sites for all of the domain names that I look after.
It is easy to have in htdocs folders for each domain name.. The problem with that is that on these site the instruction to go back to root go back too far. I think I need to host these as sub domains I think.
The 2 main sites are hirschsprungs.info and mc-gregor.org. I like to have a page with all of the doamian names on them that I can then quickly go to.

I altered httpd-vhost.conf to include this

<VirtualHost *:80>
ServerName localhost.hirschsprungs.info
ServerAlias localhost.hirschsprungs.info
ServerAdmin webmaster@stoll.nu
DocumentRoot d:/program files/xampp/htdocs/hirschsprungs.info/
<Directory "d:/program files/xampp/htdocs/hirschsprungs.info">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

When I start and stop Apache Apache won't come up
gerry_4
 
Posts: 3
Joined: 01. July 2007 15:01

Postby Wiedmann » 02. July 2007 18:14

DocumentRoot only allows one parameter, and you have two.

BTW:
If you start Apache with the batchfile, you can read an error message with a description of the problem.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby davidspan » 03. July 2007 05:01

XAMPP is one of the topics I write about
MyBlogIt!
davidspan
 
Posts: 47
Joined: 25. June 2007 01:59


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 196 guests