Jump to content
The Uniform Server Community

Can not create Virtual host (version 8.8.8)


Recommended Posts

i can not create virtual host with ver 8.8.8, what did i do wrong:


Step 1: Edit httpd-vhosts.conf file




<VirtualHost _default_:80>
 DocumentRoot D:/UniServer/www/tkp
 ServerName tkp.com
 ErrorLog "logs/error.log"
 CustomLog "logs/access.log" common


Step 2: edit host file

etc/host  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

Link to comment
Share on other sites

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.




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...