Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 06, 2011 10:34 pm 
Offline
Senior Newbie
User avatar

Joined: Tue Jun 22, 2010 3:54 pm
Posts: 13
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:

Code:
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


Top
   
 Post subject:
PostPosted: Wed Jul 06, 2011 10:51 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
And why would anyone use the Linode host name to access your site (better yet, how would they know it)?


Top
   
PostPosted: Wed Jul 06, 2011 10:51 pm 
Offline
Senior Newbie
User avatar

Joined: Tue Jun 22, 2010 3:54 pm
Posts: 13
[quote="ioplex"]
How do I block access through these lixx-yyy.members.linode.com hostnames?
[/quote]

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group