Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jan 06, 2012 3:12 pm 
Offline
Junior Member

Joined: Sun Sep 26, 2010 6:12 am
Posts: 20
AOL: 36+Peterborough+Road
Location: Southampton, UK
Hi all,

I'm hosting several sites on my Linode with a fairly standard vhost based Apache set up.

Unfortunately, the IP address of the server is resolving to one of the sites and this has been picked up and indexed by Google.

Now when the client searchs for their site by keyword, it comes up listed as the IP address.

The IP is "178.79.137.105" and if you search for "aspire fitness gym essex", you'll see it. The full URL is also indexed: http://www.aspirefitnessgym.co.uk.

I've set up a reverse DNS entry via the control panel, which I hoped would resolve the IP to another URL: www.centralmediauk.com but that doesn't seem to be working.

Any ideas?

Cheers,
Terry


Top
   
 Post subject:
PostPosted: Fri Jan 06, 2012 3:19 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
The first virtual host is used for any host that doesn't match one of the other virtual hosts.

If you have your virtual hosts in separate files set your centralmediauk.com file to be the first lexicographically i.e. start it with a 00 if they're all in the same file just put that host at the top of the file.

Then restart apache.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Fri Jan 06, 2012 6:08 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
After you add a virtual host to handle the raw IP as @obs said, consider setting up a 301 redirect to the website that was indexed by Google. (You can do this in the virtual host config, or just add an .htaccess file.) After a while, Google will pick up the 301 and start indexing the proper domain. This way, your search rating won't be negatively affected while the transition is taking place, and anyone who may have bookmarked the IP address will also be able to go to your real site.


Top
   
 Post subject:
PostPosted: Fri Jan 06, 2012 7:36 pm 
Offline
Junior Member

Joined: Sun Sep 26, 2010 6:12 am
Posts: 20
AOL: 36+Peterborough+Road
Location: Southampton, UK
Thanks for the advice guys, renaming the vhost has worked.

The correct aspire site has already been indexed by Google and has only been up for a couple of weeks so hopefully the 301 won't be necessary.

Cheers,
Terry


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


Who is online

Users browsing this forum: No registered users and 3 guests


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