changtraingheo Posted July 14, 2013 Report Share Posted July 14, 2013 i can not create virtual host with ver 8.8.8, what did i do wrong: Step 1: Edit httpd-vhosts.conf fileD:\UniServer\usr\local\apache2\conf\extra\httpd-vhosts.conf Add: <VirtualHost _default_:80> DocumentRoot D:/UniServer/www/tkp ServerName tkp.com ErrorLog "logs/error.log" CustomLog "logs/access.log" common </VirtualHost> Step 2: edit host fileetc/host 127.0.0.1 tkp.com But, when i run http://tkp.com, it's run without tkp folder, it's display index.html file in D:/UniServer/www/ not D:/UniServer/www/tkp Quote Link to comment Share on other sites More sharing options...
BobS Posted July 14, 2013 Report Share Posted July 14, 2013 My best advice would be to use the Apache Vhosts panel, which you access through Server Configuration > Apache > Apache Vhosts.You should read the detailed instructions in the documentation. By following this, you can create a vhost that actually works. Regards,BobS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.