Skip to content
View in the app

A better way to browse. Learn more.

Unraid

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 Server From Name

Featured Replies

I upgraded my router.  In doing so i went from a 192.168.0.1 to 192.168.1.1 default gateway and network.  

I used to use a static IP address for the server based on the old 192.168.0.1 network, but now that I'm changing routers, why not switch to using DHCP and start referencing the server from DNS name.

 

I updated the network.cfg file to enable DHCP and booted the server.  It boots, gets a dynamic IP from the router, and I can pull it up in the browser by IP.  I cannot browse to the server by going to http://tower.

 

Is there any special config that I need to make to my server or my router, in order to reference the shares and web ui by DNS name?

 

Thanks!

  • Community Expert

 

  • Author
17 minutes ago, trurl said:

I read through some of that quickly and I don't think that related to the issue I'm having.  I thought that I can just navigate to http://tower in a browser on my lan and load the UI tooling.  Is that not the case?  I would like to switch to using DCHP and refer the server by host, but I'm not understanding how to do that.  For some reason tower isn't getting resolved to my DHCP address. 

 

 

Screen Shot 2020-12-14 at 8.25.33 PM.png

  • Community Expert

You should be able to log into your router and see what is in the DCHP table there.    IF you can't find a reference to 'tower' associated with your server's IP address, you should probably start there. 

  • Author

ok, I'm not a networking guru (I'm a software dev).

If I assign the DCHP address to the name tower in the router, won't I constantly have to update the mapping as the ip address on the tower may change next time it starts up?

  • Author

I have an ORBI RBR750 router.  I'm looking into one of it's features called dynamic DNS, but this is french to me so if I'm barking up the wrong tree please let me know.

  • Community Expert
52 minutes ago, cobolstinks said:

dynamic DNS, but this is french to me so if I'm barking up the wrong tree please let me know.

I think you are.

 

In my Ubiquiti router, I have a table of DCHP assigned addresses which a bit of looks like this:

image.png.c8f7979983e096c5daff1f05579b7c60.png

Notice that the Name of the computer, 'HUGO_F', is a part of this information.  This allows access to the computer by using the name.  Having the name, allows the router to resolve the name to the IP address!

 

I also have another screen that look like this for the Static IP address:

image.png.748a5289d8093eaeb88165542b5aa131.png

 

Notice again that the name of my Server, 'Elsie1', is present to allow resolution of the name to the IP address.  (Ignore the other one as it is a printer.) 

 

While I have blacked out the MAC addresses (because they are unique!), they are used by most routers to reassign a computer to the same IP address even when they are completely off-line for a longer period of time.  (I know the period for this router is more than a few days...)

 

I am going to provide a link to a post I made some time back even though it is not related to your present problem:

 

     https://forums.unraid.net/topic/34889-dynamix-v6-plugins/page/44/?tab=comments#comment-462656

 

By the way, having a static IP address for your Unraid server is not a bad idea.  Most of the old timers prefer doing it that way. 

 

First, it eliminates the problem that you have run into where the name is not resolved.  

 

Second, there are times when you have like to have another way to gain access to the server to troubleshoot certain SMB problems.

 

Third, if you want to use NFS, you will almost certainly need the IP address.

 

While modern routers do tend to maintain consistent IP addresses for MAC addresses, things can go wrong or the address pool become exhausted and the reservation will be sacrificed.  With a Static address, you will always know your server's address when you need it. 

 

  • Community Expert
6 minutes ago, Frank1940 said:

having a static IP address for your Unraid server is not a bad idea.  Most of the old timers prefer doing it that way. 

 I'm pretty old and I don't prefer doing it that way.

 

You reserve the IP by MAC address in the router, then it always gives that MAC address the same IP address when it asks for DHCP. That way you can manage all of your network assignments on the router instead of going to each device and setting a static IP.

 

  • Community Expert
1 hour ago, cobolstinks said:

dynamic DNS

DDNS is a completely different thing and has to do with keeping track of the external IP address of your router and hence any devices on your LAN that you forward ports to.

 

  • Community Expert
1 hour ago, trurl said:

You reserve the IP by MAC address in the router, then it always gives that MAC address the same IP address when it asks for DHCP. That way you can manage all of your network assignments on the router instead of going to each device and setting a static IP.

Yes, I agree with you that this can be done in some(?)/many(?) routers.  It (essentially) does the same same thing as setting a Static IP address but from the router end.  I have not really had to deal with that many routers over the years and until I got the Ubitiqui router, I have never had a prosumer router.  I really don't remember if an of my earlier routers even had provision to 'reserve' IP DCHP assigned addresses.  (And, I have no idea how many current consumer routers have that provision...)  But I do remember one router (from about twenty-five years ago) that did not even have provision for reserving static  IP addresses!  You had to assign the any Static addresses at the top of the range and hope/pray that DCHP never had need for one of those addresses.  Of course, this was back before the days of WiFi so the number of addresses needed was much more easily defined.

 

PS--- As a note to anyone else coming in on this thread, setting up the Ubitiqui router was a real learning experience for someone who had not done much programming in thirty-plus years.  It should be consider a consumer router only because of its price.  But it can be customized to do about anything that might be required in a networking situation.  But you can't do it through a select-and-click interface.  You have to actually program it. 

Edited by Frank1940

6 minutes ago, Frank1940 said:

PS--- As a note to anyone else coming in on this thread, setting up the Ubitiqui router was a real learning experience for someone who had not done much programming in thirty-plus years.  It should be consider a consumer router only because of its price.  But it can be customized to do about anything that might be required in a networking situation.  But you can't do it through a select-and-click interface.  You have to actually program it.

I assume you are using a Ubiquiti EdgeRouter?  That product line is very powerful with the ability to do just about anything through the EdgeOS, CLI and .json files.

 

The Ubiquiti USG (UniFi router/gateway product line) is much more GUI driven.  If you want to get more under the hood, you can, with .json and some CLI commands; however, it is not nearly as customizable as the EdgeRouter line.  Frankly, the GUI is missing some things it should have (like VPN setup).

 

I use the USG, but, sometimes I wish I had gone with and EdgeRouter.

  • Community Expert
1 hour ago, Hoopster said:

I assume you are using a Ubiquiti EdgeRouter? 

Yes.  I also have a Ubiquiti UAP-AC-LR Access Point for WiFi.     I have been following the new hardware and software products that have been coming through the pipeline and have some very mixed reactions to what is transpiring.   I feel that the new product line is better suited for smaller commercial installations than for the home environment.   But I suppose that there are some large homes which require more than a couple of Access Points and multiple VLAN's...

6 minutes ago, Frank1940 said:

I have been following the new hardware and software products that have been coming through the pipeline and have some very mixed reactions to what is transpiring.   I feel that the new product line is better suited for smaller commercial installations than for the home environment.

My feelings exactly.  The APs are getting more powerful (and too expensive for home environment) and the router line is definitely trending more towards business needs in both form factor and price.  I wish they would come out with a UXG (not UXG Pro) in the USG/EdgeRouter form factor and not just rack mount solutions for all the new gear.

 

I have two UAP-AC-LR and an in-wall AC AP in my home.

  • Author

Ok I have my ORBI reserving my unraid machines IP address, so I think I can leave my unraid machine set to use DHCP and the ORBI will be consistent with the IP it assigns.  

I'm just going to map my shares with an IP ipaddress again.  I don't see any way to create an internal DNS CName in my ORBI settings. 

BTW the ORBI is an awesome wireless router it's doubled my internet speed throughout my whole house (compared my my nighthawk ac router).

  • Community Expert

Do you have the Dynamix Local Master plugin installed?

  • Author
On 12/15/2020 at 5:26 PM, trurl said:

Do you have the Dynamix Local Master plugin installed?

no I do not.  I'll try to research that

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

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.