LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using SUDO to BIND DNS (https://www.linuxquestions.org/questions/linux-newbie-8/using-sudo-to-bind-dns-842011/)

Buzzwrd 11-02-2010 08:48 PM

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

AlucardZero 11-02-2010 09:03 PM

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!

Buzzwrd 11-02-2010 09:24 PM

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

Buzzwrd 11-02-2010 09:25 PM

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

Cheers


All times are GMT -5. The time now is 09:30 AM.