Wildcard Subdomains.

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

Wildcard Subdomains.

Postby Lautaro » 07. April 2010 22:46


I'm using XAMPP 1.7.2 for WINDOWS and have many domains working with VHOSTS. I would like to enable wildcard dns in one of the domains I have because I want to install a php script that requires this setting to be enabled.

I would appreciate if someone could tell me how to do this without affecting any other of the domains I have in VHOSTS and only enable this in 1 simple domain.

Thank you !
Posts: 1
Joined: 07. April 2010 22:37

Re: Wildcard Subdomains.

Postby Narrowboyy » 08. April 2010 00:40

Wild card subdomains in your httpd-vhosts.conf file may look similar to this:
Code: Select all
<VirtualHost *:80>
ServerName simpledomain.com
ServerAlias *.simpledomain.com
# everything else below here
Posts: 64
Joined: 16. February 2009 02:56

Re: Wildcard Subdomains.

Postby vistazifta » 09. August 2011 23:59

i actually also used a dns server thats freeware known as maradns and created a service so i dont have to add the subdomains in hosts anymore

im in middle of writing up aguide for noobs but if u need help just holler at me :D
Posts: 2
Joined: 08. August 2011 13:30

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 81 guests