[TriLUG] Apache serving wrong website
Amnon
amnon at deltaforce.net
Tue Mar 11 11:19:26 EDT 2008
> DocumentRoot /var/www/sub.domain.org
I am no expert, but first off I think this path should be a folder not a domain
name.
> The server sends all traffic to the main domain website. I need browsers
> that visit sub.domain.org to be sent to the correct site. It was my
> understanding that as long as the sub domain was first in the configuration
> file it would work. Am I missing something? Shouldn't apache be able to do
> this? I need to host both of these sites on the same server. Any advice
> would be most appreciated. Thank you!
You probably need to list that sub domain in your dns file for that domain.
This is how it is done here.
Shalom Y'all
Amnon Nissan
Deltaforce
919-852-2121
http://www.deltaforce.net
Host, Computers 2K8
on 850 The Buzz (AM 850) in Raleigh NC
Sundays 8-10am
http://www.850thebuzz.com/compute/
Listen Live @ http://www.mainstreamnetwork.com/listen/asx/wrbz.asx
MV stuff are at:
http://www.deltaforce.net/deuce/
http://www.ncmvpa.com
More information about the TriLUG
mailing list