homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

.htaccess, 410, subdomains lies and video
Or how to forget that the subdomain ever existed

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

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)

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


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

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)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved