diff --git a/web/public/error.html b/web/public/error.html
deleted file mode 100644
index a211590c..00000000
--- a/web/public/error.html
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
-
-No access
-
-
-
-
-
-
-
-
-
-
-
> Error: Sorry, this site does not provide services in your area
-
> Error: You are visiting this site in Mainland China. Login only, not registration! Click to Login
-
-
-
-
-
-
-
-
diff --git a/web/tests/RegistrationIpRestrictionRemovalTest.php b/web/tests/RegistrationIpRestrictionRemovalTest.php
index 76cea305..ec15bb67 100644
--- a/web/tests/RegistrationIpRestrictionRemovalTest.php
+++ b/web/tests/RegistrationIpRestrictionRemovalTest.php
@@ -32,6 +32,7 @@ foreach ([
'web/app/Services/RegistrationIpRestriction.php',
'web/tests/RegistrationIpRestrictionTest.php',
'web/docs/china-ip-registration.md',
+ 'web/public/error.html',
] as $path) {
$assert(!file_exists($root . '/' . $path), 'Retired registration IP restriction file remains: ' . $path);
}