Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I followed the tutorial at and I did everything it said but my site isn't showing it just says "Unable to Connect" when I try and visit the address in my browser.

I am using Apache2.2 on Debian Lenny. I have multiple IPs/RDNS configurations on this server, and I know for a fact that they all work. How do I fix it? My httpd.conf is empty, my apache2.conf and ports.conf are the defaults. Here is what my sites-enabled configuration for my site looks like:

    <VirtualHost *80>

    # Indexes + Directory Root.
    DirectoryIndex index.html
    DocumentRoot /home/user1/www/

    # CGI Directory
    ScriptAlias /cgi-bin/ /home/user1/www/
    <Location /cgi-bin>
            Options +ExecCGI

    # Logfiles
    ErrorLog  /home/user1/www/
    CustomLog /home/user1/www/ combined


share|improve this question

migrated from Mar 22 '11 at 9:24

This question came from our site for professional and enthusiast programmers.

You should have a colon between the asterisk and the port number in the VirtualHost directive.

Such as: <VirtualHost *:80> You should also have a closing "tag": </VirtualHost>.

Also check the log files to see what more is wrong.

netstat -nap|egrep -e 'apache|httpd' should show you what port and IP address apache is listening on, if it is up.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.