Hi, On my dev machine I use htt://localhost/, and I have been using it for year. I am deving on windows machines, with Apache 2.2, (with mod_rewite installed). Now I want to start using subdomains as well. What I want to do is redirect http://subdomain.localhost/ to http://localhost/?sub=subdomain It works on the main server, (http://sub.example.com/ to http://www.example.com/?sub=subdomain). But not on the dev machine, the access is not even logged. If I do RewriteEngine On Options +Followsymlinks RewriteBase / RewriteCond %{HTTP_HOST} ^([^.]+)\.localhost RewriteRule ^/?$ /test.php Code (markup): The access to http://sub.localhost/ is not even logged in the access.log file. Any suggestions on how I could get it to work on my dev machine? Thanks FFMG