Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th June 2011, 17:12
sebasjuh sebasjuh is offline
Junior Member
 
Join Date: Jun 2011
Posts: 6
Thanks: 2
Thanked 1 Time in 1 Post
Default Installing OpenSuse with Nginx and PHP/MySQL

Hello,

I'm totally new to OpenSuse and just experimenting with the OS.
I followed this tutorial;
http://www.howtoforge.net/installing...-opensuse-11.4

on how to install nginx with php5 and mysql on OpenSuse and everything went fine. And all the pages are loading on the same server.

Except when I try to open the index.php with: http://ip/index.php on another computer in the same network it doesn't load the index.php file. It says "This page cannot be loaded". But I can ping the OpenSuse computer from the other pc.

Is there still a setting you need to change in a config file on OpenSuse or Nginx so that the webserver is accessible from all the other computer in the network?
Reply With Quote
Sponsored Links
  #2  
Old 29th June 2011, 14:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by sebasjuh View Post
Except when I try to open the index.php with: http://ip/index.php on another computer in the same network it doesn't load the index.php file. It says "This page cannot be loaded". But I can ping the OpenSuse computer from the other pc.
Do you have this problem only for index.php, or for other files as well?

What are the outputs of
Code:
netstat -tap
and
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th July 2011, 22:00
Jawshh Jawshh is offline
Junior Member
 
Join Date: Jul 2010
Posts: 25
Thanks: 2
Thanked 1 Time in 1 Post
Default

External access to port 80 is being blocked.

Code:
iptables -F
to flush all rules so you can configure from scratch.
Reply With Quote
The Following User Says Thank You to Jawshh For This Useful Post:
sebasjuh (7th July 2011)
  #4  
Old 7th July 2011, 15:37
sebasjuh sebasjuh is offline
Junior Member
 
Join Date: Jun 2011
Posts: 6
Thanks: 2
Thanked 1 Time in 1 Post
 
Default

Sorry for the late reply but the problem was the firewall traffic other than the localhost was blocked. I changed it and now it's working like a charm.
Reply With Quote
The Following User Says Thank You to sebasjuh For This Useful Post:
falko (7th July 2011)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.