Problems with the Windows version of XAMPP, questions, comments, and anything related.
by pharaoh » 07. December 2004 02:02
HI,
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:
http://www.mydomain.com &
http://mydomain.com
this is what i want:
http://subdomain.mydomain.com
Thanks
-
pharaoh
-
- Posts: 6
- Joined: 24. December 2003 05:05
by Maller » 07. December 2004 12:13
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"
ServerName subdomain.mydomain.com
# Other directives here
</VirtualHost>
-
Maller
-
- Posts: 49
- Joined: 06. March 2004 14:47
by pharaoh » 08. December 2004 01:38
Maller,
Thanks
I thought that it might be somthing like that.
i'll set it and give it a go..
Cheers
-
pharaoh
-
- Posts: 6
- Joined: 24. December 2003 05:05
by Kistler » 08. December 2004 01:44
how would i go about doing that
-
Kistler
-
- Posts: 4
- Joined: 13. November 2004 14:46
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 241 guests