Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question Apache Server troubleshooting

    I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL it says connecting... but never finishes and returns anything.

    I'm using Ubuntu Server 10.10.

    a) The DNS is working fine. It's pointed to my cable modem's IP and ping responds fine.
    b) The apache server is setup and is working locally. In fact, if I use w3m and goto www poillion. com I reach the test page perfectly.

    I can't figure out where the missing piece is to close this gap. Here are some config files to illustrate my setup:

    ServerName poillion
    /etc/hosts localhost poillion
    (along with ipv6 ones)

    Note: I had my LAN IP and cable modem IP both setup in here as www and that didn't work.

    <VirtualHost *:80>
    ServerName www . poillion . com

    ServerAlias * .poilion . com

    ServerAdmin will

    DocumentRoot /home/www
    <Directory />
    Options -FollowSymLinks
    AllowOverride None
    <Directory /home/www/>
    Options +Indexes +SymLinksIfOwnerMatch +MultiViews +ExecCGI
    AllowOverride None
    Order allow,deny
    allow from all

    ErrorLog ${APACHE_LOG_DIR}/poillion_error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel debug

    CustomLog ${APACHE_LOG_DIR}/poillion_access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from ::1/128


    Any help diagnosing would be greatly appreciated! Thanks!


  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Either at home or at work or down the pub
    Is your cable modem a modem / router / firewall device?

    If so you will need to poke a hole at port 80 and forward the requests to the appropriate server. You might also have a software firewall in the way.
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!

    The Fifth Continent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts