<p>Hi Germano,</p>
<p>Often it is considered 'best practise' to create a *.<a href="http://domain.com">domain.com</a> as this ensures that all traffic to your store is caught.</p>
<p>Regards,</p>
<p>James Darbyshire</p>
<p>Sent from my Samsung Droid™</p>
<p><blockquote type="cite">On 16/12/2010 8:50 AM, "Germano Soru" <<a href="mailto:germano@soru.me.uk">germano@soru.me.uk</a>> wrote:<br><br>








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">Hi,</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">I just had a quick question that I’ve been
asking in relevant chat rooms and forums and everyone seams to bicker rather
then help…</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">I obviously can’t control everyone’s NS
settings and sometimes people put wildcards as entries to allow them to create
subdomains instantly and then remove them later.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">These removed ones or misspelt subdomains (or
anything for that matter) are forwarded to the first subdomain that I created
on that ip on the box. I don’t know if people encounter this and have
found a solution?</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">I tried a mod_rewrite script to allow me to strip out
the subdomain, and put “www” infront to the domain the user has
entered into the url bar and then forward, but unfrourtunately for my .<a href="http://co.uk/me.uk" target="_blank">co.uk/me.uk</a>
it removes the uk part </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">effectively pointing to a co which is a different tld</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">From reading various websites this is what I came up
with, but its probably wrong, or badly written</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">RewriteEngine On</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">RewriteCond %{HTTP_HOST}
^(www.)?([^.]+).(.*)\.(.*)\.(.*) [NC]</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">RewriteCond %2 !^www$ [NC]</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">RewriteRule ^(.*)$ http://%3.%4/$1 [QSA,L]</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">I tried php too but since I don’t program it didn’t
end up well</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">Any help would be much appreciated</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">And on a side note, what does the “Modify SOA”
do and does it benefit me, I know it’s a dumb question. I don’t use
the DNS functionality on the box (I use the registrars) , as I found it to
cause me loads of problems…</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">Regards,</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial">Germano </span></font></p>

</div>

<br><font color="#888888">-- 
<br>This message has been scanned for viruses and
<br>dangerous content by
<a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is
<br>believed to be clean.
</font></div>


<br>_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@blueonyx.it">Blueonyx@blueonyx.it</a><br>
<a href="http://www.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://www.blueonyx.it/mailman/listinfo/blueonyx</a><br>
<br></blockquote></p>