Index: hosting_site.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/site/hosting_site.module,v
retrieving revision 1.23
diff -u -p -r1.23 hosting_site.module
--- hosting_site.module	16 Oct 2008 16:06:47 -0000	1.23
+++ hosting_site.module	19 Oct 2008 20:53:40 -0000
@@ -267,7 +267,7 @@ function hosting_site_form($node) {
 
 function _hosting_site_validate_fqdn($fqdn) {
   # regex is an implementation of RFC1035
-  return preg_match("/^([a-z]([-a-z0-9]*[a-z0-9]+)?\.)*[a-z]([-a-z0-9]*[a-z0-9]+)?\.?$/i", $fqdn);
+  return preg_match("/^([a-z0-9]([a-z0-9-]*[a-z0-9])?\.?)+$/i", $fqdn);
 }
 
 function hosting_site_validate(&$node) {
