LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-09-2005, 08:05 PM   #1
jbjaaz
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
virtual hosts stopped working


Hi all, my first time on the forum. here goes.

I'm running an apache webserver on a fedora core 2 machine.

I don't actually own a domain, so I use a dynamic dns name (stasmayer.dynalias.com) from dyndns.org. I run an application called RunDNS to keep the ip updated whenever it changes.

I'm on a cable connection. Comcast to be more exact.

The machine is basically used for web development... for testing as well as a place for clients to see how their site is coming along, so its got the standard technologies running like mysql and php.

Further, I create a new username for each project to create its own user directory in /home/ and lastly, I use virtual hosts to create subdomains for each project I'm working on. Here's a snippet from my httpd.conf file...
Code:
ServerName devserver
NameVirtualHost 192.168.1.1xx
#default
<VirtualHost 192.168.1.1xx>
  ServerName stasmayer.dynalias.com
  DocumentRoot /path/to/files
</VirtualHost>
#project1
<VirtualHost 192.168.1.1xx>
  ServerName project1.stasmayer.dynalias.com
  ServerAlias project1
  DocumentRoot /home/project1/public_html
</VirtualHost>
The server has been working fine for months. Main domain and subdomains fully accessible. Today, this morning, I noticed the subdomains were not accessible. I get an Address Not Found Error. The top domain works fine. Internet is running beautifully on all machines in the house including the server.

I'm not sure if this has anything to do with it, but last night, my internet dropped and I had to reset the cable modem.

I'm wondering if its a DNS issue. Should I have a DNS server running on my computer? I realize that doesn't make sense because the thing has been running fine for months. Anywho, error logs don't produce anything either.

Anyone, help! I really have no clue what is going on! Thanks in advance.

Last edited by jbjaaz; 06-09-2005 at 08:12 PM.
 
Old 06-09-2005, 08:33 PM   #2
jbjaaz
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
arghhh... i hate when you can't fix something all day, but then as soon as you ask the question everything starts working again.

So yeah, its working. Why? beats me. I didn't change a single thing. All settings are as they were before the problem started. Well I did change one thing right before it started working, in the http.conf file, I changed LogLevel to "debug" and erased all the log files in apaches /log/ folder. Though I doubt that did it.
 
  


Reply



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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
virtual hosts, virtual ip's? kuplo Linux - Newbie 3 11-29-2005 08:44 PM
Virtual server stopped working rvc13 Linux - Networking 1 03-28-2005 08:48 PM
Only one virtual hosts is working dienerk Linux - General 5 10-23-2004 03:36 PM
Virtual Hosts, defaults on port 81 with Apache not working S3ct0r Linux - Networking 2 06-19-2004 03:35 PM

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

All times are GMT -5. The time now is 07:39 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
Open Source Consulting | Domain Registration