Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess, 410, subdomains lies and video

Or how to forget that the subdomain ever existed



10:37 pm on May 26, 2002 (gmt 0)

10+ Year Member

This is the story. I once had a host that allowed a static IP, but now it doesn't. When I had an exclusive IP number I had set a subdomain, there was where Google & Co. looked at.

But now, without static IP, I want to know no more of subdomains. It was the wrong approach to my needs too, so no condolences please. The stuff that used to be at the subdomain is now on its own directory.

My question is: how do I set a "410 - gone" to the subdomain? It can be done at .htaccess with "Redirect gone /im_not_here", but im_not_here is (no more) in the root directory, and I want the world to forget the subdomain, that doesn't look to be inside.

As a related point, the 410 status code is, as far as I know, supported only on HTTP/1.1; would googlebot understand it?

(I lied about the video; that was the lie)


11:20 pm on May 26, 2002 (gmt 0)

10+ Year Member

surely a 301 in the .htaccess would be the best option


12:41 am on May 27, 2002 (gmt 0)

10+ Year Member

Point, but I want the 410, not the 301. I just want to know how to make the redirect on the subdomain: since it is not a regular file, "Redirect 410 /subdomain" will not work, and even will hinder access to real files with that name. What I want to know is how to make the redirection over the subdomain, since it is not a file under the filesystem.


5:54 pm on May 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I think you can use a cname DNS entry to redirect at that level. I've not used this myself, but from what I've read on the internet it might serve your need.

Richard Lowe


Featured Threads

Hot Threads This Week

Hot Threads This Month