Apache Server troubleshooting


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Apache Server troubleshooting
# 1  
Old 05-11-2011
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 (www .poillion. com) 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
Quote:
poillion
/etc/apache2/httpd.conf
Quote:
ServerName poillion
/etc/hosts
Quote:
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
Quote:
<VirtualHost *:80>
ServerName www. poillion. com

ServerAlias *.poillion.com
ServerAlias *.willpoillion.com

ServerAdmin will@poillion. com

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  
Old 05-12-2011
Did you check with your ISP that you're allowed to run a server? Is the cable modem perhaps a router too, which doesn't yet forward the packets correctly? Is the IP that your domain resolves to the same as that that the modem got from the ISP?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

Help troubleshooting new Apache installation on HPUX 11.31

Hi Guys! I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly. The apache version was 2.2.15 Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies

2. Shell Programming and Scripting

Apache webserver troubleshooting

Need assistance in getting apache installation troubleshooting.. - Compiled source code of apache webserver , Installed and configured apache, - started apache web server with no errors. - web browser doesnt open any pages . say "Page cannot be displayed". Need troubleshooting . - When i... (12 Replies)
Discussion started by: ajayram_arya
12 Replies

3. Red Hat

CPU high - apache real server OK, virtual server not

Got two RHEL servers - one real and one virtual/cloud. Both run apache web server. When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem. Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies

4. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

5. AIX

Troubleshooting NIM Server

hello folks, Can someone help me troubleshoot the NIM Server NIM MASTER: >> # hostname oldbcoedv # cat /etc/hostname 192.52.100.29 bcoeqa bcoeqa.bin.com.sa 192.52.100.66 oldbcoedv # cat /etc/bootptab ..... # T180 -- (xstation only) -- enable virtual screen #NO CLIENTS... (6 Replies)
Discussion started by: filosophizer
6 Replies

6. UNIX for Dummies Questions & Answers

Apache Server

I have a question concerning the log file from an apache web server. How can I : a) roughly estimate the number of requests processed per second by the web server. b) tally the top ten hosts who send most of the requests to the web server for the last 30 minutes. Could any... (1 Reply)
Discussion started by: ppychu
1 Replies

7. UNIX for Dummies Questions & Answers

Server shutdown Troubleshooting

SCO Unixware 7.1.1 Hi friends, At 11:30pm last night mymain Unix Server hung or rebooted (Unaware which one), and was bot available for 10 minutes. Is there a log file somewhere which will tell me what happened ? I have looked ad /var/adm/syslog, but cannot make head nor tail of it. ... (1 Reply)
Discussion started by: sureshy
1 Replies

8. UNIX for Dummies Questions & Answers

Apache Server

I Don't speak english very good... i'm new to unix. I have Win98SE and Apache for win32 Pentium MMX-166MHz 200MB Free Apache/1.3.20 (Win32) PHP/4.0.6 My url is my ip and i want to get domain exsample "www.cfir.co.il" so i want to get UNIX. i want to get standard UNIX server not... (4 Replies)
Discussion started by: cfir
4 Replies
Login or Register to Ask a Question