Welcome to WebmasterWorld Guest from 50.16.24.12

Forum Moderators: phranque

Dealing with someone that has their DNS set to my IP

Can htaccess solve my problem?

   
6:03 pm on Mar 10, 2008 (gmt 0)

10+ Year Member



Someone that manages their own DNS has set it so that another domain maps to my IP address.

My site is new, this site is established. Unfortunately, they are ranking above me in a number of google searches using my content.

How do I prevent visitors to their site from seeing my content?

Thanks!

6:17 pm on Mar 10, 2008 (gmt 0)

5+ Year Member



I would of thought that this is a form of stealing.

Although i haven't heard of anyone 'mapping' a sites ip address to copy the content.
Perhaps someone could explain that to me?

As for preventing visitors seeing your content on their site, i dont think its possible. Maybe if someone can explain the mapping i could work out what was happening?

You could report them to google for duplicate/stealing content from yourselves. Thats all i can suggest at the moment.

:)

6:24 pm on Mar 10, 2008 (gmt 0)

5+ Year Member



Do you mean that you see your site displayed with their hostname in the url bar? Are you sure that their domains points to your site, and that they didn't simply copied your pages on their server?

It means that your server accept queries regardless of the hostname. You should set it up to serve your content from a virtual host, and set an empty directory as the home for the default site.

6:54 pm on Mar 10, 2008 (gmt 0)

10+ Year Member



Yeah, when I do an nslookup for their domain, it shows my IP address (it is not a shared IP). Their nameserver is their own.

So, my site is displayed with their hostname in the URL bar.

Achernar, can you provide any pointers for setting up the site to serve as a virtual host?

Is there any other way to prevent this?

7:04 pm on Mar 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would ask this question in the appropriate Server software forum (either apache or IIS whatever your server is) as you will get a better answer.

There should be a fairly easy way to stop it, but I don't know it off hand.

Also, I'm unsure why they would do this. It's still your content they are showing so it would be your ads/product/etc. they are showing as well....what's in it for them?

7:15 pm on Mar 10, 2008 (gmt 0)

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



Assuming the DNS entry was intentional, it sounds like the other site is getting high rankings from your site to boost its rankings. At some later time, they will probably change the DNS to their own site.

If this was happening to me, I would do a 301 redirect from othersite.com to myseite.com.

8:14 pm on Mar 10, 2008 (gmt 0)

10+ Year Member



Ah, good idea. 301 redirect it is. Thanks.
4:48 am on Mar 11, 2008 (gmt 0)

5+ Year Member



I had somebody do this to me a few years ago, but it turned out they were on the same server and it was "accidental" on the host's part..

If this was happening to me, I would do a 301 redirect from othersite.com to myseite.com.

301 via htaccess or is this something that has to go in the server rules?
6:39 am on Mar 11, 2008 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



.htaccess is essentially a way to implement server rules on a per-directory basis so this could go in the document root directory .htaccess.
12:30 am on Mar 12, 2008 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



There is even a better option than blocking with .htaccess, and that is to benefit from the link power of the domain linking to you. You have to convert all INTERNAL relative links in your site to absolute links to your domain though, so there is some work to do. The easiest way to do this is with a BASE tag in the header of your HTML which causes all relative URLs in the HTML code to be translated as absolute URLs to the domain you defined in the BASE tag.

This works as follows. Assume that your domain name is good.com and their domain name is evil.com. Everyone visiting pages from evil.com will only see absolute links to pages on your domain good.com. Visitors to evil.com will therefore as soon as they click on an internal link be transferred to good.com. Pagerank assigned to evil.com pages will be distributed to your good.com pages via these internal links.

6:40 pm on Mar 13, 2008 (gmt 0)

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 5+ Year Member



A 301 to < something distasteful > would be nice...

[edited by: tedster at 5:38 am (utc) on Mar. 16, 2008]

1:12 am on Mar 14, 2008 (gmt 0)

5+ Year Member



Have you tried setting up 2 virtual servers? The first (default) virtual server could point to a directory with nothing more than "Welcome to my Server". This would trap any host name that does not match the 2nd virtual server. Then set the 2nd virtual server to point to your real site's directory.
1:20 am on Mar 14, 2008 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], ShorehamPC!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month