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 ...
- 05-11-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 3
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
/etc/apache2/httpd.confpoillion
/etc/hostsServerName poillion
(along with ipv6 ones)127.0.0.1 localhost
127.0.1.1 poillion
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
- 05-12-2011 #2
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.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


Reply With Quote