Page 1 of 1

How to add SubDomains

PostPosted: 07. December 2004 02:02
by pharaoh

Just wanting to know how to add a subdoamin to current sites.
I have checked the postes but can find exactly what I need.

I have set up several sites with Vhost, can i just add a wildcard entry in Vhost or do i need to have it setup with DNS as well?

this what i have: &

this is what i want:


PostPosted: 07. December 2004 12:13
by Maller
I belive you need to setup a CNAME record with your subdomain
and then a virtual container looking like this

Code: Select all
NameVirtualHost *

<VirtualHost *>

DocumentRoot "c:/xampp/htdcos/dir"

# Other directives here


PostPosted: 08. December 2004 01:38
by pharaoh


I thought that it might be somthing like that.
i'll set it and give it a go..


PostPosted: 08. December 2004 01:44
by Kistler
how would i go about doing that