Forum Moderators: buckworks & webwork

Message Too Old, No Replies

What can I do to avoid that

domain not belong to me pointing to my server

         

jim_knopf

2:57 am on Sep 4, 2008 (gmt 0)

10+ Year Member



Hi there,

I'm not sure if this is the right place to ask, yet somewhat it is related to domains.
I just seen while checking my stats that there is a domain that points it's DNS forwarding to my server.

Running a whois gives me a contact name in US and a domain registrar in Germany. Checking on domain contact gives me a domain that brings me to one of them parked domains with all that junk ads. How can I avoid that domains do point to me server IP respective how could I turn them away?

Thanks for any advise

Marshall

3:25 am on Sep 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



In an .htaccess file you can block the domain. Or, if you do not have an htaccess file, if you are running .asp pages, you can put an if statement above the head requesting the http host's name and if it is not yours, to bounce it.

Marshall

jim_knopf

10:38 pm on Sep 4, 2008 (gmt 0)

10+ Year Member



Hi Marshall, thanks for the reply.

So, I basically need to set up an account for that certain domain and then block or send them via .htaccess in that domain account to Timbuktu?

Just making sure I understand correct.....

Marshall

11:53 pm on Sep 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, but you better ask someone better versed in htaccess than me insofar as how to write it. All my sites are on Windows servers and don't have .htaccess files.

Marshall

jim_knopf

12:11 am on Sep 5, 2008 (gmt 0)

10+ Year Member



Thanks marshall, I do know how to do this.