LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-14-2006, 11:34 AM   #1
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Rep: Reputation: 30
Exclamation Virtual hosted website not found


Does my broken website count as a networking problem?

I must be missing something simple. We host several websites in addition to our own. All are virtual hosts. Ours is first in the httpd.conf virtual hosts list, and it has suddenly turned up MIA. Sometimes the next site in the list is loaded in its place.

I've made no config file changes lately. Only recent change has been to get ISP to provide reverse DNS pointer back to this machine (spider.eapdd.com, which also operates as mail server), and that was completed this week. I'm betting that's related to my problem, but I'm missing the link.

First few virtual hosts:
Code:
<VirtualHost eapdd.com:80>
        DocumentRoot /var/www/html/eapdd
        ServerName eapdd.com
        ServerAlias www.eapdd.com
        ErrorLog logs/eapdd_error_log
        CustomLog logs/eapdd_access_log combined
</VirtualHost>

<VirtualHost buffalopoint.com:80>
        DocumentRoot /var/www/html/buffalopoint
        ServerName buffalopoint.com
        ServerAlias www.buffalopoint.com
        ErrorLog logs/buffalopoint_error_log
        CustomLog logs/buffalopoint_access_log combined
</VirtualHost>

<VirtualHost helenaharbor.com:80>
        DocumentRoot /var/www/html/helenaharbor
        ServerName helenaharbor.com
        ServerAlias www.helenaharbor.com
        ErrorLog logs/helenaharbor_error_log
        CustomLog logs/helenaharbor_access_log combined
</VirtualHost>
Any ideas how I've broken it?
 
Old 07-14-2006, 12:04 PM   #2
Super7
Member
 
Registered: Mar 2006
Location: Oakville
Distribution: Mandrake
Posts: 37

Rep: Reputation: 15
I personally use IP address instead of relying on reverse DNS so mine looks like this.

<virtualhost 10.10.10.10>

domain stuff

</virtualhost>

you ever try that out?
 
Old 07-14-2006, 01:10 PM   #3
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Super7
I personally use IP address instead of relying on reverse DNS so mine looks like this.
you ever try that out?
No, but I don't think that would be very good since all of the domains have the same IP address. Maybe I'm misunderstanding.

In any case, everything was working fine before today.
 
Old 07-14-2006, 02:13 PM   #4
Super7
Member
 
Registered: Mar 2006
Location: Oakville
Distribution: Mandrake
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by toes
No, but I don't think that would be very good since all of the domains have the same IP address. Maybe I'm misunderstanding.

In any case, everything was working fine before today.
thats exactly how mines setup, and works cp your vhost.conf file to something else make changes and if it doesnt work for you just copy it back over.
 
Old 07-14-2006, 02:37 PM   #5
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Original Poster
Rep: Reputation: 30
Thumbs up

Quote:
Originally Posted by Super7
thats exactly how mines setup, and works cp your vhost.conf file to something else make changes and if it doesnt work for you just copy it back over.
I don't have a vhost.conf; mine's in httpd.conf. Anyway, I thought you were a nut, but I tried it because I wasn't getting anywhere. The first domain in the list is available again.

Now, 2 more questions. Why was it broken? And why does this fix it?

Last edited by toes; 07-14-2006 at 02:38 PM.
 
Old 07-14-2006, 02:40 PM   #6
Super7
Member
 
Registered: Mar 2006
Location: Oakville
Distribution: Mandrake
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by toes
I don't have a vhost.conf; mine's in httpd.conf. Anyway, I thought you were a nut, but I tried it because I wasn't getting anywhere. The first domain in the list is available again.

Now, 2 more questions. Why was it broken? And why does this fix it?
I assume it would be a DNS issue. The DNS A record for the domains (all pointing to the same Ip by the way) may be slow and it times out? I am not exaclty sure why yours is in a different conf file than mine, I am running mandrake 10.2.

Last edited by Super7; 07-14-2006 at 02:42 PM.
 
Old 07-14-2006, 02:57 PM   #7
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Super7
I am running mandrake 10.2.
Oh! Sorry about that. Might have helped if I had noted in the first post that I'm working on a Redhat machine. Mandy is my home machine. Now that I look at that, I need to update my info. I've been using 2006 for a while.

Hmm. I'm not sure about the DNS having a performance problem since it brought up the other sites fine. I'll keep digging. Don't want this to happen again.
 
Old 07-14-2006, 03:11 PM   #8
Super7
Member
 
Registered: Mar 2006
Location: Oakville
Distribution: Mandrake
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by toes
Oh! Sorry about that. Might have helped if I had noted in the first post that I'm working on a Redhat machine. Mandy is my home machine. Now that I look at that, I need to update my info. I've been using 2006 for a while.

Hmm. I'm not sure about the DNS having a performance problem since it brought up the other sites fine. I'll keep digging. Don't want this to happen again.
In all the years I have had my setup in its specific way I have had no issues with it in any form.
 
  


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
LimeWire Installation Problems- No Java virtual machine could be found... DYNO Linux - Software 2 12-04-2004 11:59 AM
How Can I password protect a sub-directory of a hosted website from client PC mark001 Linux - Newbie 18 11-12-2004 02:29 PM
ErrorMessage "Java virtual machine could be found from your PATH .. What do i Do ? murbz Linux - Software 18 11-09-2004 05:30 AM
Postfix+Courier-IMAP virtual user not found when sending mail hawkpaul Linux - Software 0 05-03-2004 11:02 AM
I think I found the world's most pointless website. Travis86 General 5 03-03-2004 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:50 AM.

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
Open Source Consulting | Domain Registration