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 09-06-2012, 03:13 AM   #1
piyushsingh
LQ Newbie
 
Registered: Sep 2012
Posts: 21

Rep: Reputation: Disabled
Apache server with Static ip is not working


hii ;;
guys
i have installed rhel 5 and imade an apcheserver which can be accesd localy and when i want it to be accessd globaly with my mtnl static ip...is not woking..i am able to ping www.google.com but when i open firefox it just loading and loding ...my network configuration is
bootproto=dhcp
and i also checked /etc/resolv.conf
it is right as given by isp....
and also when i just want to check my apche server localy on firefox it shows same loading...
guysss plz help me out...
i am in big trouble
 
Old 09-06-2012, 09:56 PM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
Quote:
i have installed rhel 5 and imade an apcheserver which can be accesd localy and when i want it to be accessd globaly with my mtnl static ip...is not woking
From above it seems it is working locally

Quote:
and also when i just want to check my apche server localy on firefox it shows same loading...
From above it seems it is not working locally

What, it is exactely, Is it accessible locally or not accessible locally? explain please?

Also check the Apache log ( may be /var/log/apache2/error.log) for error log

Last edited by KinnowGrower; 09-06-2012 at 09:58 PM.
 
Old 09-06-2012, 10:01 PM   #3
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
Also, always check the spellings, what you type. it is Apache NOT apche. To get quick response make it more clear as well.
 
Old 09-07-2012, 02:09 AM   #4
piyushsingh
LQ Newbie
 
Registered: Sep 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Apache server with static ip

sryyy for spell mistakes....

Apache server is working localy ..ok and i am using oracle enterprises linux 5.3.
when i am going to boot my pc with dhcp as i told ihave static ip of MTNL ...then even if i want to open my local apache server as localhost.localdomain in firefox then firefox is just loading and loading..and the output of elinks is also making connection....i have checked vi /etc/sysconfig/network-scripts/ifcfg-eth0 all are coorrect..nd /etc/resolv.conf is also correct...
and as i told i am able to ping www.google.com
sir i dont understand why i cant open google in firefox whether it is pinging in terminal.....
plzzz help me to make an Apache server with static ip...
thanks for showing interest...
 
Old 09-08-2012, 10:04 AM   #5
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
Quote:
Originally Posted by piyushsingh View Post
sryyy for spell mistakes....

Apache server is working localy ..ok and i am using oracle enterprises linux 5.3.
when i am going to boot my pc with dhcp as i told ihave static ip of MTNL ...then even if i want to open my local apache server as localhost.localdomain in firefox then firefox is just loading and loading..and the output of elinks is also making connection....i have checked vi /etc/sysconfig/network-scripts/ifcfg-eth0 all are coorrect..nd /etc/resolv.conf is also correct...
and as i told i am able to ping www.google.com
sir i dont understand why i cant open google in firefox whether it is pinging in terminal.....
plzzz help me to make an Apache server with static ip...
thanks for showing interest...
Again there are many spelling mistakes. You are using words like 'sryyy' instead of sorry, 'spell' instead of 'spelling', 'localy' instead of 'locally'. ihave instead of 'I have'. Lots of folks here don't know what is MTNL. You should say your ISP. "Correct" should be spelled as "correct" NOT 'coorect' and it should be 'and' not '..nd'. Finally 'plzzz' is 'please'

I am not here to check your English proficiency. Neither me is perfect in English. But from all above it seems you are not putting serious efforts to get solve your issue. Everybody is getting the impression that, you are not serious to get help. For your information, when you type something misspell, it gives RED LINE under that misspell word. So please take some time to correct it.

Let go to the original problem . From all it seems you are trying to do everything on single computer. It is directly attached to ISP (MTNL) getting DHCP. You are running Apache on it. You have are trying to open the Web link in Firefox locally. But it is keep on loading. So now my questions/suggestions are..

1. If you have different setup try to draw network here, if you can't explain
2. Are you sure Apache is configured to run automatically after reboot. Also check with command "netstat -natup" that it is running on correct port (port 80)
3. Did you tried with IP address

Good luck
 
  


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
apache server not working giri4ukumar Linux - Newbie 3 12-02-2008 12:27 AM
Using Apache server with non-static IP address issue coldbeer Linux - Server 2 07-06-2007 09:09 AM
php not working on apache server Beck24 Linux - Software 3 01-19-2006 02:12 AM
apache web server not working. Brother Michael Debian 4 08-16-2004 03:23 PM
static IP, a router, getting apache working ok Lan-side flippantfig Linux - Networking 2 06-04-2004 01:02 PM


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