Unable to connect to virtual host,please help!
i have been at this for more than 2 1/2 hours and it still doesnt work. ive been trying to simply get a virtual host running through apache. i went into /etc/httpd/conf/httpd.conf and made a virtual hosts entry -
<VirtualHost *:80> ServerAdmin webmaster@ccis2122.com DocumentRoot /home/erik/Desktop/website ServerName hostlist.ccis2122.com </VirtualHost> i made an entry in my dns - $TTL 86400 @ 0 IN SOA ns.ccis2122.com. root.ns.ccis2122.com. ( 1 ; Serial 28800 ; Refresh (8 hours) 14400 ; Retry (4 hours) 604800 ; Expire (1 week) 86400 ; Minimum TTL (1 day) ) 0 IN NS ns.ccis2122.com. 0 IN MX 10 mail.ccis2122.com. ccis2122.com. 0 IN A 10.10.3.17 hostlist.ccis2122.com. 0 IN A 10.10.3.17 here is my /etc/hosts - (didnt know if i needed to or not) # Do not remove the following line, or various programs # that require network functionality will fail. ::1 Thisismyname localhost.localdomain localhost 127.0.0.1 localhost localhost.localdomain linuxtwo 10.10.3.17 www-support.ccis2122.com 10.10.3.17 www-sales.ccis2122.com 10.10.3.17 www-eng.ccis2122.com 10.10.3.17 hostlist.ccis2122.com my iptables are allowing everything - Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination anything else you need to know just ask. whenever i go into a browser and type "hostlist.ccis2122.com" it says unable to connect. i have my index.html in the right folder with file permissions 755 on the folder and the file (if that even matters). Thx. |
break it down into seperate parts...
1) ping it. does it resolve correctly? does it ping? 2) if it pings, forget dns, and your issue will be a firewall or apache itself. |
All times are GMT -5. The time now is 02:20 AM. |