1

I've got a new APC SmartUPS X 1500 with the build-in network management card AP9631, which I can access it via the ip-address 192.168.0.154.

This IP-address has been given by my router's DHCP.

When I go to the following configuration screen in the Network Management Card:

Configuration -> Network -> DNS -> Configuration

And set a host-name in that configuration window like this:

enter image description here

I can't seem to access it via my browser by typing in the following URL:

http://MY-UPS-HOSTNAME/

It gave me this error: ERR_NAME_NOT_RESOLVED.

I've also tried to ping it, no success.

There is also no other device on this network with the same hostname.

Question

How can i access my UPS with the configured host name?

1 Answer 1

1

Your router may manage this for you. Assigning the UPS a static IP on the router may add it to the lookup table on the router.

Add 192.168.0.1 as the primary DNS on the configuration page you have shown.

Failing that, you can edit the HOSTS file on your system

If Windows, the file is at C:\Windows\System32\drivers\etc\ and you will need to assure that hidden files are displayed and then open the file in Notepad

To allow yourself to view all file types, open Windows Explorer > Tools > Folder Options > View tab or Organize > Folder and search options > View tab •Scroll down to the Hidden Files and Folders section •Select: "Show hidden files and folders" •Uncheck: "Hide file extensions for known file types" •Uncheck: " Hide protected operating system files" •Ok the Prompt, click Apply, Ok

This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

This file contains the mappings of IP addresses to host names. Each entry should be kept on an individual line. The IP address should be placed in the first column followed by the corresponding host name. The IP address and the host name should be separated by at least one space.

Additionally, comments (such as these) may be inserted on individual lines or following the machine name denoted by a '#' symbol.

For example:

  102.54.94.97     rhino.acme.com          # source server
   38.25.63.10     x.acme.com              # x client host

localhost name resolution is handled within DNS itself. 127.0.0.1 localhost ::1 localhost

You simply add a line with the IP of your UPS and then the name you wish to use

Save the modified file.

Note that this needs to be done for each computer on the network

12
  • Alright then... But why didn't this happen automaticly? Like we're used to i guess? I saved the configuration on the UPS right?
    – Bas
    Apr 23, 2015 at 13:11
  • Not sure what you mean by Automatically. The HOSTS file is a manual process. Routers have different features. More detail of what you have done may assist with a more detailed answer. Also, Based on the image, what happens when you uncheck Overrode manual?
    – Dave M
    Apr 23, 2015 at 14:37
  • Well, when i change the hostname on my router for example, and type that in into my browser's URL bar. I get to see the routers configuration window. (Reading the rest later, brb)
    – Bas
    Apr 23, 2015 at 14:57
  • Since your router is handling name resolution for the network, it will respond to the name you assign it. Devices on the network are handled slightly differently.
    – Dave M
    Apr 23, 2015 at 15:10
  • alright then, but what about PC's on the same network/domain? I can just type in the host name of a computer on the same network as me, and I get the file system of it. (If i do something like: `\\PC-PCNAME\c$` in my windows explorer)
    – Bas
    Apr 24, 2015 at 6:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .