Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    3

    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:

    hostname
    poillion
    /etc/apache2/httpd.conf
    ServerName poillion
    /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 poillion
    (along with ipv6 ones)

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

    /etc/apache2/sites-available/poillion
    <VirtualHost *:80>
    ServerName www . poillion . com

    ServerAlias * .poilion . com


    ServerAdmin will

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


    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 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

    </VirtualHost>



    Any help diagnosing would be greatly appreciated! Thanks!

    Will

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,635
    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.
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    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
  •