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 11-02-2010, 09:48 PM   #1
Buzzwrd
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
Using SUDO to BIND DNS


Hi,
I am trying to set up a webserver that is on our network. The server box (webserver ) will be accessed by many boxes but I do not wish everyone to access our network.

I need to open the webserver to inbound and outbound traffic.

The webserver does not open the index page - local host or 127.0.0.1?

Also, when I use sudo and try to edit files in vi I do not have permission to save those files. e.g. userdir.conf

Any help would be much appreciated.
Cheers
Buzzwrd
 
Old 11-02-2010, 10:03 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Quote:
The webserver does not open the index page - local host or 127.0.0.1?
What is your question here? 127.0.0.1 and localhost are the same thing.

Quote:
when I use sudo and try to edit files in vi I do not have permission to save those files. e.g. userdir.conf
probably because the files are not set writable. Try forcing the write with :w!
 
Old 11-02-2010, 10:24 PM   #3
Buzzwrd
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Yes, localhost and 127.0.0.1 are the same thing. I am just new to this and am having trouble, sorry guys.

The whole thing is confusing.

When I force the write using :w! I do not understand? I know your telling me to change permissions to write but I am still confused.

Do you have any suggestions?

Cheers
 
Old 11-02-2010, 10:25 PM   #4
Buzzwrd
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
My question is: I dont understand why my Apache2 webserver will not run localhost and show me a webpage/index?

Cheers
 
  


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
Bind.DNS Help needed on Split DNS server manya Linux - Server 3 10-28-2010 09:39 AM
Need help on BIND/DNS manya Linux - Networking 6 10-27-2010 03:52 PM
How to get Windows Clients to be served DNS from a Linux BIND-DNS Server texmansru47 Linux - Networking 12 07-10-2008 08:06 PM
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 11:33 PM
DNS and bind amjad General 0 02-17-2005 10:19 AM


All times are GMT -5. The time now is 01:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration