Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am running an Apache2 server on a Fedora 13. I'd like to make it publicly accessible(visible).For example I'd like when somebody types http://my.ip.numbes/ that they would see what I have in my document root folder. Just for a presentation of a course work at university.

Permissions are set to 755. User owning the document root is apache. SELinux is temporarily disabled. But port 80 is closed. I tried to open it by adding an entry to iptables and restarting them, no change. I guess I am missing something big here.

Help would be greatly appreciated.

Note: I have a static (public, real) IP address.

Question added: If it is a ISP issue, can I make Apache listen on another port, e.g. 7070?

share|improve this question

migrated from webmasters.stackexchange.com Jan 31 '11 at 21:52

This question came from our site for pro webmasters.

    
How is your server exposed to the internet? Behind a NAT router, or is the public IP connected directly to your server? –  Mark Henderson Jan 31 '11 at 21:53
    
Duplicate of Apache server not broadcasting to internet –  Mark Henderson Jan 31 '11 at 21:54

1 Answer 1

You'll need to make sure the port is forwarded if you are behind NAT (ie, if your ip is 192.168.x.x or similar). Since you likely have a dynamic ip (even if it doesn't seem to change a lot, if it is issued via DHCP it is dynamic), you should consider a service like dyndns.org. Also, it is very likely that hosting a server is against your ISPs terms of service and could get your account suspended. Your ISP pay also be blocking port 80, preventing anyone from accessing your apache server. You might consider changing the Listen port and seeing if that makes a difference.

share|improve this answer
    
I see a lot of ISPs blocking :80 at their level, stopping anyone from getting through at all. –  Mark Henderson Jan 31 '11 at 22:10
    
Well, that is how they sell the 'business' class packages, actually static IPs and port 25 and 80 open properly. ISPs charging you to not interfere with your packets, what fun. –  Allan Jude Jan 31 '11 at 22:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.