diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -20,7 +20,7 @@ function Server(host, port) {
 
 	// if host provided, augment the urlObj
 	if (host) {
-		urlObj.host = host;
+		urlObj.hostname = host;
 	}
 
 	// if port provided, augment the urlObj
Small bugfix of setting the server hostname.