<p>That makes no sense. </p>
<p>If he didn't have a dns entry for both sites, how does the user get to site without the dns entry to be rewritten by Apache?</p>
<p>-Ben Croswell</p>
<div class="gmail_quote">On Sep 28, 2011 10:52 AM, "风河" <<a href="mailto:shorttag@gmail.com">shorttag@gmail.com</a>> wrote:<br type="attribution">> this is the stuff what should be done by webserver rather than by DNS. i,e,<br>
> Apache rewrite will do that.<br>> 在 2011-9-28 下午10:29,"feralert" <<a href="mailto:feralert@gmail.com">feralert@gmail.com</a>>写道:<br>>> Hi all,<br>>><br>>> I'm sure this has been asked trillions of times but since I couldn't<br>
>> find any concrete answer/reference in google I am asking you guys in<br>>> this list. Sorry if anyone thinks this a dumb question or something<br>>> very obvious.<br>>><br>>> The thing is that i want users redirected to '<a href="http://www.domain.com">www.domain.com</a>' even<br>
>> when they just type the domain name '<a href="http://domain.com">domain.com</a>'.<br>>> In order to do so I am not sure if its best to have one A RR for each<br>>> or have an A RR for the domain and a CNAME RR pointing to '<a href="http://domain.com">domain.com</a>'<br>
>> for '<a href="http://www.domain.com">www.domain.com</a>'.<br>>><br>>><br>>> <a href="http://domain.com">domain.com</a> A 1.1.1.1<br>>> <a href="http://www.domain.com">www.domain.com</a> A 1.1.1.1<br>
>><br>>> OR<br>>><br>>> <a href="http://domain.com">domain.com</a> A 1.1.1.1<br>>> <a href="http://www.domain.com">www.domain.com</a> CNAME <a href="http://domain.com">domain.com</a><br>>><br>
>><br>>> Any help appreciated.<br>>><br>>><br>>> Thanks,<br>>> Fred<br>>> _______________________________________________<br>>> Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to<br>
> unsubscribe from this list<br>>><br>>> bind-users mailing list<br>>> <a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>>> <a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</div>