Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can't access to a virtual host

Featured Replies

I am new to Uniserver. I've just installed it and set up a virtual host but can not access to the site. Any more configuration needed to be done?

 

Thanks,

AO

  • 9 months later...

AO,

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:

vhost1.mysite.org 127.0.0.1

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

 

Regards,

BobS

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.