wildcard subdomains in windows

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

wildcard subdomains in windows

Postby lmao24 » 02. October 2010 00:46

by lmao24 » 02. October 2010 00:21

Hi,

I'm trying to get wildcard subdomains working on my machine... drupal has a subdomain module i need to get working.


my httpd config looks like this:

NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/xampp/htdocs
</VirtualHost>

<VirtualHost *:80>
ServerName mydomain.net
ServerAlias mydomain.net
DocumentRoot C:/xampp/htdocs/drupal
</VirtualHost>


<VirtualHost *:80>
ServerName *.mydomain.net
ServerAlias *.mydomain.net
DocumentRoot C:/xampp/htdocs/drupal
</VirtualHost>


my Windows hosts file looks like this:


127.0.0.1 localhost
127.0.0.1 mydomain.net
lmao24
 
Posts: 1
Joined: 01. October 2010 23:13

Re: wildcard subdomains in windows

Postby JonB » 02. October 2010 02:47

here's a hint -

Your post title is wrong -- it should be 'wildcard subdomains in Apache'.

now Google that. :shock:

Good Luck with your project -

:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 138 guests