<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></STYLE>

<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY class=hmmessage id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0 
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><B>From:</B> <A title=capnkirk13@hotmail.com 
href="mailto:capnkirk13@hotmail.com">Kirk Gildroy</A> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV style="BACKGROUND: #f5f5f5">
<DIV><B>Sent:</B> Friday, July 02, 2010 7:58 AM</DIV>
<DIV><B>To:</B> <A title=blueonyx@blueonyx.it 
href="mailto:blueonyx@blueonyx.it">blueonyx@blueonyx.it</A> </DIV>
<DIV><B>Subject:</B> [BlueOnyx:04862] Re: vsite resolving to first 
site</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV>I appreciate the prompt reply.  I do have DNS entries with 
Network Solutions for both <A 
href="http://www.mydomainname.org">www.mydomainname.org</A> and mydomainname.org 
for outside resolution and I also have them entered on my Win2k3 inside DNS 
servers for inside resolution.  Hit the FQDN of <A 
href="http://www.mydomainname.org">www.mydomainname.org</A> and I hit the 
proper site so Apache must be resolving properly at that point but why not 
for mydomainname.org?<BR> <BR>> From: mstauber@blueonyx.it<BR>> To: 
blueonyx@blueonyx.it<BR>> Date: Thu, 1 Jul 2010 23:01:27 +0200<BR>> 
Subject: [BlueOnyx:04860] Re: vsite resolving to first site<BR>> <BR>> Hi 
Kirk,<BR>> <BR>> > I have two sites on a box sharing the same IP 
address as the box itself. <BR>> > I do not have DNS enabled on the box 
although all the entries for the<BR>> > sites are in the primary services 
via Automatic DNS setting in Site<BR>> > Management. The problem is that 
trying to hit the second site using<BR>> > domain only (no www), it gets 
redirected to first site. I have eliminated<BR>> > anything external by 
plugging directly into the box and putting the proper<BR>> > entries into 
the windows/system32/drivers/etc/hosts file. Any help is<BR>> > much 
appreciated.<BR>> <BR>> It is a DNS issue. When you have multiple sites on 
the same IP, then Apache <BR>> needs to resolve the DNS in order to be able 
to redirect your visit to the <BR>> desired page.<BR>> <BR>> If it 
cannot resolve the domain name, then it will simply point the visit to <BR>> 
the primary site instead.<BR>> <BR>> Entering the domain name into your 
Windows host file will not help, as Apache <BR>> on your server still needs 
to be able to resove the DNS and if the domain you <BR>> want to browse to 
has no correct DNS entries, then this won't work.<BR>> <BR>> Work around: 
<BR>> <BR>> 1.) Under "System Settings" / "TCP/IP" enter the IP address of 
your server as <BR>> DNS server.<BR>> <BR>> 2.) Activat the DNS server 
on your BlueOnyx.<BR>> <BR>> 3.) Create DNS records for your Domain based 
on this guide<BR>> <BR>> 
http://www.solarspeed.net/otrs/public.pl?Action=PublicFAQ&CategoryID=3&ItemID=16<BR>> 
<BR>> 4.) Configure your Windows network so that it uses the BlueOnyx DNS 
server for <BR>> all DNS queries.<BR>> <BR>> Then it should work until 
you get official DNS entries somewhere upsteam.<BR>> <BR>> -- <BR>> 
With best regards<BR>> <BR>> Michael Stauber</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>You must include mydomainname.org as a web 
server alias for <A 
title="http://www.mydomainname.org CTRL + Click to follow link" 
href="http://www.mydomainname.org">www.mydomainname.org</A></FONT></DIV>
<DIV><FONT face=Arial>Do this in Site Management - Services - Web - Web server 
aliases</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>If you want other.mydomainname.org to resolve to <A 
href="http://www.mydomainname.org">www.mydomainname.org</A> then include that 
too, and add an A record in DNS for it with the same IP 
address.</FONT></DIV></BODY></HTML>