Page 1 of 1

wildcard subdomains in windows

PostPosted: 02. October 2010 00:46
by lmao24
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

Re: wildcard subdomains in windows

PostPosted: 02. October 2010 02:47
by JonB
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 -

:)