+exit_on_error "finding and testing app folder"
+
+#echo "!! domain being added is: $DOMAIN_NAME"
+
+sudo bash "$FEISTY_MEOW_SCRIPTS/system/add_domain.sh" "$DOMAIN_NAME"
+exit_on_error "Setting up domain: $DOMAIN_NAME"
+
+sep
+
+# add the main website as specified by the domain name they gave us.
+sudo bash "$FEISTY_MEOW_SCRIPTS/system/add_apache_site.sh" "$APPLICATION_NAME" "$DOMAIN_NAME"
+exit_on_error "Setting up apache site for: $APPLICATION_NAME"