Jump to content
The Uniform Server Community

Can't access to a virtual host


Recommended Posts

  • 9 months later...


Yes, but exactly for what type of access?


If you use the tool in The Uniform Server to create the vhosts, it will add an entry to your HOSTS file to the route for your vhost site. Example:


This will be rather unhelpful if you want to use it for external access to that vhost, because it doesn't go far enough.


You can follow the information in the Wiki about DtDNS, which is a dynamic DNS service. The result will be a DNS name that will convert to your (current) WAN IP, the one presented to you by your ISP.


Then you'll need to set your router to forward port 80 TCP to the INTERNAL address of the machine on which your server is running (like And you need to pin that address to the machine, so that DHCP doesn't move it around.


That gets the requests to your web server. The vhosts entries also set up the target directory for your web server. You need to have at least an "index.html" file or similar, so that you have something to serve to the requests. This would be the location to put up, say, WordPress, or other app.


Hope that helps, and be sure to look in the Wiki.




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...