What is the 404 subdomain for

When there is a subdomain in your DNS that points to your web server, but it's not setup in your apache setup, then apache will pickup the FIRST vhost in the order of it's configuration file, and will present the content of this vhost.

As you might NOT want that somebody sees a RANDOM content, DTC creates a 404 subdomain to present to the user in that particular case. This way, you do not risk that a customer's site is showed when, for example, somebody types http://ftp.example.com(approve sites) and goes to your web server with a wrong URL, for which the DNS still points to your web server.

Page last modified on September 27, 2007, at 05:12 PM EST