Jump to content
The Uniform Server Community

Resolve hostname from non Windows device


uvc
 Share

Recommended Posts

Hi there, first I would like apologise for my ignorance!

 

I have Uniserver running as a basic webserver on a Windows 7 PC. This is accessed from a number of different devices running different operating systems over a LAN.

 

All devices are able to access webpages on webserver using the ip address of the Windows 7 PC. From other windows machines I can use the hostname of the laptop in order to access it, however this is not possible from the other devices (android/mac/linux).

 

Is it possible to use hostname from other operating systems?

Link to comment
Share on other sites

The problem is that the Windows machine's host name isn't in the DNS lookup for the other devices. Let's say your Windows machine is "target". You would address it as http://target/index.html. You may find that some systems balk at this and want a TLD (like .com). I would use target.lan (make up your own TLD). Whatever choice you make, this name isn't registered in any external DNS, but only in your router's DNS table, if at all.

 

There are two solutions. One is to add the name-address pair to all the devices' hosts file (a real pain to maintain), or to add your router to the DNS lookup server list. I suggest you do some study on this latter approach which may be specific to your router.

 

In any case, this is not resolvable from within The Uniform Server.

 

Regards,

BobS

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.

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

Loading...
 Share

×
×
  • Create New...