I have a domain that is pointing to my servers IP using a A-record. Only problem is, Google is indexing my site both by domainname AND IP-Adress, and that doesn’t look very good in the search results.. How can i solve that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depending on what technologies you’re using on the web site, you may be able to make the robots.txt file smart enough to allow crawling for the domain name and disallow it for the IP address.
Another alternative is to set up your web server with “virtual hosts” or “host headers” that will prevent the site from even responding to requests to the IP address.