LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-10-2007, 01:49 PM   #1
niranjan_artal
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Mozilla giving error while using apache2.0


hi..i ve started apache server by typing
service httpd start..and its running..
In mozilla web browser when i type http://127.0.0.1.. It gives the home page of apache 2.0..But when i type http://localhost..It doent show up..the browser tries to access google website with localhost as search word if its not connected to internet..And if d system is connected to internet and if i type http://localhost/ wikipedia site is opened and info bout localhost is displayed..Probably wat could be the problem..Plz hepl me out..

Last edited by niranjan_artal; 10-10-2007 at 01:52 PM.
 
Old 10-10-2007, 03:36 PM   #2
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Rep: Reputation: 16
I don't know your distro but in Gentoo you have to specify in /etc/hosts "127.0.0.1 localhost" (without the ""'s) in order for localhost to work. You system now just doesn't know that 127.0.0.1 is localhost.
 
  


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
Apache giving the error :Could not determine the server's fully qualified domain name bcf2 Linux - Server 47 02-13-2015 10:34 PM
GCC compiler giving syntax error before 'double' error dragonmint Programming 2 06-02-2007 02:07 PM
why is apache giving me a 404 error linuxmandrake Linux - Software 4 06-17-2005 09:16 AM
Apache and CGI is giving me headaches inpt Linux - Software 3 06-10-2005 11:24 AM
giving apache the correct permissions dflorence Linux - Newbie 3 11-06-2003 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 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
Open Source Consulting | Domain Registration