LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-04-2015, 02:20 AM   #1
area47
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Rep: Reputation: Disabled
browsing web site within private domain


Hi everyone,

I have setup a small private domain using zentyal 4 and NAS4free 9.1 and have managed to get Active Directory, windows shares, ssh and a couple of other things working.

My ultimate goal is to be able to type http://hostname.example.com in a web browser (IE not allowed) and access the web admin of other server and websites within the domain and I can for about 5 minutes before "Server not found". It takes about an hour before I can access the server web admin again.

Through the rambling of a youtube tutorial I heard about FQDN but I am at a loss as to how to test this

I have literally run out of words to google this with.

I know Im not giving much about setup simply because I have no idea what information would be helpful.

Thank you for your support

Last edited by area47; 03-04-2015 at 02:21 AM. Reason: spelling
 
Old 03-04-2015, 05:33 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by area47 View Post
Hi everyone,

I have setup a small private domain using zentyal 4 and NAS4free 9.1 and have managed to get Active Directory, windows shares, ssh and a couple of other things working.

My ultimate goal is to be able to type http://hostname.example.com in a web browser (IE not allowed)
in fact, that's easy. You don't give a lot of detail, though, but probably all you need is a local DNS running. I'm using dnsmasq on my LAN for that, but if you only have a handfull of local hostnames, you could as well put them into the /etc/hosts file of each client.

Using dnsmasq, you'd only have to edit the hosts file of the server machine, as dnsmasq reads that file and serves the information in it in response to DNS queries.

[X] Doc CPU
 
Old 03-04-2015, 11:03 AM   #3
area47
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Doc CPU

Thanks for the words of encouragement.

I don’t know which dns Zentyal uses but I have dns and dhcp running on Zentyal and NAS4free setup to accept dhcp addresses.

I had a look at etc/hosts on Zentyal;

127.0.0.1 localhost.localdomain localhost
127.0.1.1 linkbox.bbe.worx linkbox

and on NAS4free (BSD);

::1 localhost localhost.worx
127.0.0.1 localhost localhost.worx
192.168.10.13 brewbox.worx brewbox

Should I add the .bbe? I did an embedded install and I understand that everything goes into ram so if I edit the hosts file will I not lose that on the next reboot?

Thank you for your support
 
Old 04-04-2015, 01:17 AM   #4
area47
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi

So, four months on and I'm still trying to do this and the only thing that I know for sure is I can't browse websites by hostname within a private domain with Zentyal as the domain controller. This is the third forum I'm asking for help on and I am no closer to understanding what I'm doing wrong, what I am missing, what I need to do, what question to ask.

In 4 months of googling, reading, examples, testing, alias, tutorial, searching, nsswitch, configuring, nslookup, ifconfig, dig, reinstalling and crashing my machine the four words that seem to come up the most are resolve, forwarders, redirector, DNS cache.

In terminal if I ping any machine within the domain by IP address, it works.
In Terminal if I ping any machine within the domain by hostname, unknown host

In a web browser if I go to a website within the domain by IP address, it works
In a web browser if I go to a website within the domain by hostname, server not found

I'm pretty sure the server is missing something, and I think what it's missing is knowing which IP address goes with which hostname (maybe it's the other way around). I have not done anything manually to help the server do this, which is where I think I need the help. After 4 months that's as close as I can get to describing whatever it is I'm trying to describe.

The domain controller is Zentyal 4 stand alone on a private network with no access to the internet.

area47
 
Old 04-09-2015, 08:06 AM   #5
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by area47 View Post
So, four months on and I'm still trying to do this and the only thing that I know for sure is I can't browse websites by hostname within a private domain with Zentyal as the domain controller. [...]
I'm beginning to suspect that the term "domain" in your posting refers to a Windows networking domain, not -as I thought first- to a domain name in the DNS.

Then I'm sorry I have to back out here, as I have no knowledge whatsoever about Windows domain based networks.
And my previous reply may be bogus then, as it tried to address a completely different matter.

[X] Doc CPU
 
Old 04-10-2015, 10:01 PM   #6
area47
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
OOOOKay

Maybe I'm asking the question wrong, which would explain why I'm not . . . anyway. Taking this as a learning opportunity could you please elaborate on this 'domain name in the DNS' what do you mean by that?

thank you

area47
 
  


Reply



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
Is Private Web Browsing Really Private? LinuxCrushesWindows Linux - Software 16 03-03-2014 12:38 PM
Domain Name, Web Site Hosting and Apache fusion1275 Linux - Server 2 01-15-2009 05:10 AM
Blocking Web crawlers, bots, spiders, proxies, etc from private site areas haydenyoung Linux - Security 3 11-15-2008 11:03 AM
Download web site...... (offline browsing) alaios Linux - Software 9 10-11-2005 05:39 AM
Mozilla web font differnt at each site, no tab browsing Lee Oswald Linux - Software 0 02-22-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:33 PM.

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
Open Source Consulting | Domain Registration