LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2013, 08:11 PM   #1
abc789987
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu 13.10
Posts: 3

Rep: Reputation: 0
Can't connect to unraid webserver using name but can connect to ip address


Running Ubuntu 13.10.
Have unRAID installed on another networked computer.
I can navigate to local unRAID website by typing in unRAID ip address but when I type in the name, NAS/ in my case, it does not connect.

I have a windows machine where I can type in either or and it works. I know I'm missing something.

I'm trying to do this in Chrome, firefox gives me same error.
 
Old 11-01-2013, 06:07 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
You have to map the name of the host to an ip in the domain name service. Or you can set that mapping in your /etc/hosts
Do the windows machines get their ips fom a dhcp server? If so - Does your linux box have dhcp disabled maybe? If there is dhcp available you don't need to edit /etc/hosts, just enable dhcp.

btw.: Welcome to LQ,abc789987!

Would be helpful if you add the distribution you use.

Last edited by j-ray; 11-01-2013 at 06:16 AM. Reason: had misunderstood the post
 
1 members found this post helpful.
Old 11-01-2013, 09:39 AM   #3
abc789987
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu 13.10
Posts: 3

Original Poster
Rep: Reputation: 0
I'm at work now so hard to do much... But I was able to remote in with Teamviewer through my phone and look at some settings.
Went to Network Connections > Edit (on my wifi connection), then went to IPv4 Settings.
Method is set to "Automatic(DHCP)".
For IPv6, also set to "Automatic"

The windows machine is also setup to use DHCP automatically.

I will be able to look into this more easily when I get home from work.

Thanks for the welcome, I may be finally posting some questions here since having a dormant account for years
 
Old 11-01-2013, 10:54 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
In a nutshell windows file sharing protocol can automatically map netbios names to IP addresses but linux can not. The simplest is to add a line in the /etc/hosts file.

Other options would be to run a local DNS server or configure samba on the unRAID server as a wins server and then you can configure the ubuntu PC with samba to map netbios names to IP address.
 
1 members found this post helpful.
Old 11-01-2013, 10:30 PM   #5
abc789987
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu 13.10
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
In a nutshell windows file sharing protocol can automatically map netbios names to IP addresses but linux can not. The simplest is to add a line in the /etc/hosts file.

Other options would be to run a local DNS server or configure samba on the unRAID server as a wins server and then you can configure the ubuntu PC with samba to map netbios names to IP address.
Okay, I was able to add line to hosts file and now I can navigate to my unraid page. Thank you!

I curious what the benefit to running a local DNS server might be, should I try to set that up?

Thanks again!
 
Old 11-02-2013, 05:37 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
If you have many computers and you do not want to change the /etc/hosts file...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to Webserver from Outside Network shizzles Linux - Server 4 02-22-2011 11:09 PM
SSH webserver - can't connect over internet veaviticus Linux - Networking 1 09-23-2009 11:12 AM
Cant connect to my webserver and ftp server from outside LAN akudewan Linux - Networking 3 05-15-2005 03:00 PM
cannot connect to ip of my webserver critter Linux - Newbie 7 11-15-2004 06:06 PM
Can't connect to my webserver from INTERnet NJ [FIN] Linux - Networking 4 08-29-2003 01:46 AM


All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration