<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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<BR>> _______________________________________________<BR>> Blueonyx mailing list<BR>> Blueonyx@blueonyx.it<BR>> http://www.blueonyx.it/mailman/listinfo/blueonyx<BR>                                      <br /><hr />The New Busy is not the old busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3' target='_new'>Get started.</a></body>
</html>