The problem is that vhost is sending a header.php before the http redirection, also I have my windows on drive E so this script doesn't work right, also you need to modify the http.conf uncommenting the virstual host part AND ALSO adding a default one, here are my fixes: in \udrive\home\admin\www\vhost.php: in \udrive\usr\local\apache2\conf\httpd.conf: Now, Admin Virtual Host works OK and also my host file gets updated correctly. I also created a bat file that restarts the server, the pause in the middle is for to give time to the server to shutdown, then restart it. warning! it uses drive W and mysql by default. Here is the code: @echo off
udrive\home\admin\program\pskill.exe Apache.exe c
pause
Server_Start.bat W mysql All the changes are on the attached zip file -- uniserver3_4_fix_virtualhosts.zip