Search code examples
apache2publicstatic-ip-address

Public Apache2 Server


I wonder how to make my apache2 server public? I mean, I have a static ip and someone who knew that ip can access my website from out-world. I already install apache2. I test it from http://localhost, I mean its working.

My OS is ubuntu by the way.

Thanks


Solution

  • Verify that your Apache configuration has it listening for connections on all IPs, or at least the externally-visible IP address: http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen

    You can verify this by using the command netstat -anp | grep apache (maybe :80 would be easier than apache).