Redirecting from lixx-yyy.members.linode.com Hostnames
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
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