Answer the question
In order to leave comments, you need to log in
How to make subdomains refer to the main domain on denwer?
In Denver, by default, in order to create a subdomain, you need to create a new folder in the project, and then the corresponding entry appears in vhosts.conf. How can I make all subdomains point to the main site?
I tried to specify in the httpd.conf file:
<VirtualHost 127.0.0.1:80>
DocumentRoot "Z:/home/test/www"
ServerName "test"
ServerAlias "*.test"
ScriptAlias /cgi/ "/home/test/cgi/"
ScriptAlias /cgi-bin/ "/home/test/cgi-bin/"
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question