Redirecting from lixx-yyy.members.linode.com Hostnames

Hi Everyone,

I do not want my site to be accessible through it's lixx-yyy.members.linode.com name.

I have tried a Redirect like:

NameVirtualHost 123.123.123.123:80

 <virtualhost 123.123.123.123:80="">ServerName www.busicorp.com
    ...</virtualhost> 

 <virtualhost 123.123.123.123:80="">ServerName lixx-yyy.members.linode.com
    Redirect permanent / http://www.busicorp.com/</virtualhost> 

but this does not work (whereas it does work with ServerName busicorp.com). I suspect this might have to do with the fact that lixx-yyy.members.linode.com actually resolves to a different IP.

How do I block access through these lixx-yyy.members.linode.com hostnames?

More generally, how do I block / redirect everything through one hostname? I don't want to duplicate content and screw up my Google rank.

Mike

2 Replies

And why would anyone use the Linode host name to access your site (better yet, how would they know it)?

@ioplex:

How do I block access through these lixx-yyy.members.linode.com hostnames?

Nevermind. I had my servers mixed up. And reverse DNS on my secondary server wasn't correct. The aforementioned Redirect does work as expected.

Mike

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct