diff --git a/alias/hosting_alias.module b/alias/hosting_alias.module
index e97aa51..5ab870f 100644
--- a/alias/hosting_alias.module
+++ b/alias/hosting_alias.module
@@ -60,11 +60,29 @@ function hosting_alias_help($path, $arg) {
  */
 function hosting_alias_form_alter(&$form, &$form_state, $form_id) {
   if ($form_id == 'site_node_form') {
+    $form['#validate'][] = 'hosting_alias_site_form_validate';
     return hosting_alias_form_data($form, $form_state);
   }
 }
 
 /**
+ * Validation handler for site form.
+ *
+ * Makes sure aliases are not more than 235 characters.
+ */
+function hosting_alias_site_form_validate($form, &$form_state) {
+  $aliases = $form_state['values']['aliases'];
+  foreach ($aliases as $key => $alias) {
+    $length = strlen(trim($alias));
+    if ($length > HOSTING_MAX_ALIAS_LENGTH) {
+      $long = $length - HOSTING_MAX_ALIAS_LENGTH;
+      form_set_error("aliases_wrapper][aliases][$key", t('The alias @alias is @long character(s) too long. Please shorten.', array('@alias' => $alias, '@long' => $long)));
+    }
+  }
+
+}
+
+/**
  * Alter the node form for a site to add the aliases and redirection items.
  *
  * @param $form
diff --git a/hosting.install b/hosting.install
index b107cef..dbbe635 100755
--- a/hosting.install
+++ b/hosting.install
@@ -25,7 +25,8 @@ function hosting_schema() {
       ),
       'name' => array(
         'type' => 'varchar',
-        'length' => 50,
+        // @see HOSTING_MAX_ALIAS_LENGTH
+        'length' => 235,
         'not null' => TRUE,
       ),
     ),
@@ -509,3 +510,19 @@ function hosting_update_6206() {
   module_enable(array('jquery_update'));
   return $ret;
 }
+
+/**
+ * Alter the length avialable for a site alias to 235.
+ *
+ * https://drupal.org/node/1971348
+ */
+function hosting_update_6207() {
+  $ret = array();
+  $spec = array(
+        'type' => 'varchar',
+        'length' => 235,
+        'not null' => TRUE,
+  );
+  db_change_field($ret, 'hosting_context', 'name', 'name', $spec);
+  return $ret;
+}
\ No newline at end of file
diff --git a/hosting.module b/hosting.module
index 82ad4bd..13bf3f3 100755
--- a/hosting.module
+++ b/hosting.module
@@ -6,7 +6,13 @@
  *
  * Contains just about all the interface magic of hostmaster.
  */
- 
+
+/**
+ * The maximum length for a site alias.
+ * Leaving room to append '.alias.drushrc.php' and keep filenames below 255.
+ */
+define('HOSTING_MAX_ALIAS_LENGTH', 235);
+
 /**
  * Not split for performance reasons. Just to keep code together.
  */
diff --git a/site/hosting_site.form.inc b/site/hosting_site.form.inc
index ca66d39..d14683d 100644
--- a/site/hosting_site.form.inc
+++ b/site/hosting_site.form.inc
@@ -309,6 +309,12 @@ function hosting_site_validate($node, &$form) {
     form_set_error('title', t("You have not specified a valid url for this site."));
   }
 
+  $length = strlen($url);
+  if ($length > HOSTING_MAX_ALIAS_LENGTH) {
+    $long = $length - HOSTING_MAX_ALIAS_LENGTH;
+    form_set_error("title", t('The url your provided is @long character(s) too long. Please shorten.', array('@long' => $long)));
+  }
+
   if (!$node->new_client) {
     $client = hosting_get_client($node->client);
     if (!$node->client || !$client) {
