diff --git a/bin/browserid b/bin/browserid
index cf199e123b0bbbc93ae1a04370d4e0cc9e504878..1c07ce581a0e9a32d19a19fb5b0cebd00a5762ce 100755
--- a/bin/browserid
+++ b/bin/browserid
@@ -170,13 +170,6 @@ app.use(function(req, res, next) {
 
 app.use(express.static(path.join(__dirname, "..", "resources", "static")));
 
-// custom 404 page
-app.use(function(req, res,next) {
-  res.statusCode = 404;
-  res.write("Cannot find this resource");
-  res.end();
-});
-
 // open the databse
 db.open(config.get('database'), function (error) {
   if (error) {
diff --git a/bin/verifier b/bin/verifier
index 50210785b86e0f0db18e9fa0b9e7829c4f6042bb..d19cfc2cd096e4fa9b39c9245d2bb48376bd87ac 100755
--- a/bin/verifier
+++ b/bin/verifier
@@ -129,13 +129,6 @@ app.post('/verify', function(req, resp, next) {
 // shutdown when /code_update is invoked
 shutdown.installUpdateHandler(app);
 
-// custom 404
-app.use(function(req, res,next) {
-  res.statusCode = 404;
-  res.write("Cannot find this resource");
-  res.end();
-});
-
 // shutdown nicely on signals
 shutdown.handleTerminationSignals(app, function() {
   cc.exit();