Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just registered a new domain and at the moment it sends a 403.

Is the HTTP-Header "204 No Content" a good header for a domain with no content at the moment, because I'm working on the site and the domain will be a while blank and want no bad SEO-Startup ;) ?

share|improve this question
up vote 2 down vote accepted

I would think that from the SEO perspective no content is no content. Whether you send that status code or deliver an empty HTML page I think you would see the same SEO results. Is this a new domain name (i.e. with no previous history)? If so it may not even get indexed by any search engines so it may not matter.

share|improve this answer

I can't comment on SEO, but the typical use of the 204 response is to not refresh the current page. It's probably most appropriate with a request other than GET (like POST or DELETE):

Excerpt from HTTP/1.1: Status Code Definitions:

10.2.5 204 No Content

The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation. The response MAY include new or updated metainformation in the form of entity-headers, which if present SHOULD be associated with the requested variant.

If the client is a user agent, it SHOULD NOT change its document view from that which caused the request to be sent. This response is primarily intended to allow input for actions to take place without causing a change to the user agent's active document view, although any new or updated metainformation SHOULD be applied to the document currently in the user agent's active view.

The 204 response MUST NOT include a message-body, and thus is always terminated by the first empty line after the header fields.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.