How can I prevent other domain point to my server?

gzadam

New member
Joined
Apr 13, 2010
Messages
3
Hi there, my server installed DirectAdmin two months ago. Recently I found an unknown domain points to my server, can I block it? I don't like this crap domain redirect to my server.

:confused: help plz~
 
You will need to find out who owns the domain and request them to make the necessary change. You can do this by using a whois tool (plenty online) - and contacting the domain registrar.
 
I consulted a technical staff, he told me we can ban the unauthorized domain by httpd.conf.
 
I don't see how you can use your example to block another domain from pointing to your server; all you're doing is blocking access from that host, but the access isn't from the host, it's from the visitor trying to reach that site.

There's no real way you can block someone from pointing their domain to your server either with a redirect or with DNS pointing to your IP#, but if you don't have them set up on your server, everything for their domain should be denied, except for httpd requests, which should return your generic "shared IP" message.

Years ago we were troubled with this; we created a domain for it on our server and pointed it to an advertising farm; we made a few cents on it :).

Jeff
 
Thanks, ranz.

I think I found the solution: ban all IP-based hosts, allow name-based hosts.
 
Back
Top