Apache Virtual Host Connection Refused Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello list,

I have a vexing problem with an Apache Virtual Host setup. In a nutshell, I
have verified that apache is listening on port 80 and I have double checked
my virtual host setup. Indeed, I can reach by IP address and the connection
is logged under the virtual host. However, when I try to use the domain
name, I get a connection refused error. The httpd.conf file is pretty much
stock with the exception of uncommenting the userdir stuff and the vhosts
line at the bottom. I pretty much followed the article on the wiki. I am
leaning towards a DNS issue but my domain properly resolves to the correct
IP address. The IP address is 149.28.50.65. What could I have missed?

# /etc/httpd/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
    ServerAdmin webmaster@xxxxxxxxxxxxxxxxxx
    DocumentRoot "/home/user/public_html"
    ServerName "goblackcat.com"
    ServerAlias "www.goblackcat.com"
    ErrorLog "/var/log/httpd/goblackcat.com-error_log"
    CustomLog "/var/log/httpd/goblackcat.com-access_log" common

    <Directory "/home/user/public_html">
      Require all granted
    </Directory>
</VirtualHost>

#/etc/hosts
127.0.0.1    localhost
::1               localhost

Thanks!
Matt



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux