LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-15-2007, 11:55 AM   #1
linuxnoob86
LQ Newbie
 
Registered: Nov 2005
Location: Minnesota
Posts: 5

Rep: Reputation: 0
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.

Last edited by linuxnoob86; 05-15-2007 at 11:59 AM.
 
Old 05-15-2007, 02:38 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to Virtual Host in Apache frankkky Linux - Enterprise 19 11-16-2006 11:31 PM
virtual users and virtual host need to stay at /home nephish Linux - Networking 3 01-14-2006 02:36 PM
Unable to connect to SAMBA host, will retry in 60 seconds. Sloppyunderfoot Suse/Novell 0 10-27-2005 11:36 AM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 02:24 PM
telnet: Unable to connect to remote host: Connection refused batham Linux - Networking 0 07-07-2003 06:29 PM


All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration