Page 1 of 1

Multiple Domains

PostPosted: 02. July 2007 16:22
by gerry_4
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

PostPosted: 02. July 2007 18:14
by Wiedmann
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.

PostPosted: 03. July 2007 05:01
by davidspan