Got a friend who has his personal website hosted on HostGator. I went there the other day, typed in an URL that points to a file that does not exist. Instead of Apache’s default plain vanilla 404 not found page, I got the following rendered inside my browser.

HostGator Default 404 Not Found page

What is a 404 page?

404 From Wikipedia,

The 404 or Not Found error message is an HTTP standard response code indicating that the client was able to communicate with the server, but either the server could not find what was requested, or it was configured not to fulfill the request and not reveal the reason why.

Basically the web server is telling the browser that the requested resource cannot be found. For example requested file does not exist on the file system, or the application explicitly wants to indicate that the requested resource is missing. Together with HTTP response code, 404 can also send back a HTML page that can be rendered in browsers to show some customised “not found” message.

404 Research Lab has a good collection of many creative 404 Not Found pages. They all try to tell the users that “these are not the droids you are looking for”, but a creative 404 page can sometimes spice up a website.

But with Hosting Company’s Advertisement?

How would you react when you see HostGator’s 404 page popped up on your favourite website? The first thing that came to my mind was — “hey, I did not know that my friend is doing an affiliation with HostGator” (he is in the affiliation commission business). It just shows how mis-leading these 404 pages can be on your website!

Let us see what is on the page:

  • A big HostGator logo — make sure you know who is hosting this website.
  • A Google AdSense for Search input box.
  • A Google Toolbar for Firefox referral banner.
  • More advertisement for HostGator, coupon code included!

If the customised 404 page provides a more useful non-cryptic message, and is easier to the eyes than Apache’s default, I am perfectly fine with that. If you put a small logo of your hosting company at the corner, then you start to work on the ethical fine line, especially when you are also serving reseller customers. Some hosts have done it in a non-intruding manner, which can be quite clever sometimes. For example, BlueHost sends back its own favicon when 404 is detected for that file.

However, advertisement on 404 pages of your customers’ domain?! I think HostGator has crossed the line and went overboard.

Desperate? Alternate Source of Income? For Charity?

With a bit of digging on the Internet, I found it has already been discussed on WHT more than a month ago. And not only they have decided to monetize 404 pages on their clients’ domains, they have also added banner ads to their control panels.

You would think web hosting is their core-business. I guess HostGator must have got pretty desperated to seek alternate source of income this way.

Of course there is no lack of excuses. Like, donation to charity and further improving the service. It only addresses how HostGator will spend the money it made from the ads, but not what right it has to monetize on its clients’ domains! They might be honourable intent (at least according to their rep on WHT), but a honourable intent is still wrong and unethical if it is not the intend of the owner of that website/domain.

Mixed Responses on Forums

While I am pretty negative on hosting companies monetizing on their customers’ domains, you do get polarised opinions on Web Hosting Talk regarding this issue. Many hated it, but many do not really mind.

My take? I think there are web hosting companies out there who thought, “hey, why didn’t I come up with this idea first?” Especially after HostGator disclosed $60,000/year projected revenue from these 404 pages.

I should not be too surprised to see more and more web hosting companies follow suit and monetize their own customers’ 404 pages as well. Web hosting is such a low margin industry, especially with all these oversold plans, so why not find an alternate source of income?

However, I think if the hosts are thinking this way — they are definitely on the wrong track. There are plenty other value-add services that can be sold to your web hosting clients, but displaying ads on their domains is not one of them. If a host really want to monetize 404 pages, it should let the customers opt-in (instead of opt-out with their own customised page), and use a profit-sharing scheme that will benefit both parties.

What do you think? Do you think it is unethical, or is acceptable? Will you use a web hosting company that monetize on your domains’ 404 pages?