LinuxQuestions.org
Review your favorite Linux distribution.
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 10-31-2010, 02:20 PM   #1
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Help with location and syntax of named.conf in Ubuntu's version of BIND 9


Here's where I currently need help:

I already have an HTTP server (in the form of Apache) along with forum software set up on my Acer netbook. However, the only way I can access the forum software is if I type in my IP address. How do I set up my named.conf to get the IP address to redirect to a domain? I already have my resolv.conf configured to allocate a domain to the IP address, but testing the ping of the site returns a "No such domain" error.
 
Old 10-31-2010, 02:36 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

In /etc/resolv.conf you put the nameserver(s) you want to use.
If it's only your server that you want to access, there is no need to run a name server. You can put in /etc/hosts your IP along with your server name:
Code:
x.x.x.x www.mydomain.com
Regards

Last edited by bathory; 10-31-2010 at 02:45 PM. Reason: typo
 
  


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
BIND change location of journal files in named.conf psychobyte Linux - Networking 4 12-24-2009 01:28 AM
Please Help Syntax Error in named.conf file Owiza007 Linux - Networking 4 05-06-2009 06:41 AM
BIND -named.conf ryanc75 Linux - General 3 09-19-2005 02:57 AM
Annoying syntax error with named.conf d0ugb Linux - Networking 7 08-07-2005 12:20 PM
named.conf ... acl syntax freaky al Linux - Networking 12 08-28-2004 08:05 AM

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

All times are GMT -5. The time now is 01:15 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