Forum Moderators: phranque
Just put
ErrorDocument 404 [domain.com...] in your .htaccess file
Use
ErrorDocument 404 /error.html
You might consider using mod_rewrite to set up two filespaces on your server that you can map your site's URLs to. Then you can leave the old site up in one filespace, upload the new site to the other filespace, and then change the mod_rewrite code to "instantly" switch all your URLs to point to the other (new site) filespace.
This works well for sites where the content is static, or dynamic sites where the content (database) is modified only by the administrators and not by users.
Jim