How can I stop someone from using the contents of my website by pointing his DNS to my servers?
-
Someone is using the content from my domain by pointing his dns servers to my dns servers and he is displaying the site as it is. How can i prevent him from using my dns ?
-
Answer:
You should activate name-based virtual hosting and only show your real website for the desired domain names. For all other names, you can display a suitable error message. Details: Your webserver is contacted by its IP address. There is nothing you can do to stop that. Anyone can say, "connect to that IP address". For instance, anyone can register new domain names to point to your server's IP address. However, inside the request, there is a field Host with a name like http://www.example.com. Upon receiving the request, your server may choose to inspect the Host field and deliver different content depending on that value. In the simplest case, the server ignores the field entirely and always prints out the same content. But in a more sophisticated set-up, so called "name-based (virtual) hosting", the server chooses the content depending on the hostname. This is how shared webhosts work: There's a single server, but depending on the requested hostname it spits out a different website for each name. Therefore, if you want to tie your server content to your hostname, you have to tell your server to produce your website only for your desired name, and to produce a different (error) website for all other cases. In Apache this is trivial to configure, just check their documentation; for IIS I wouldn't know but I imagine it's equally simple.
Shritam Bhowmick at Quora Visit the source
Related Q & A:
- How can I stop only for one month my period menstruation?Best solution by glamcheck.com
- How can I stop my Yahoo logging out?Best solution by Yahoo! Answers
- How can I stop a player in chess from freezing my game when I am winning in the middle or at the end of a game?Best solution by chess.com
- Whenever I get a runny nose, I bleed from my nose. How can I stop this?Best solution by healthtap.com
- How do I stop someone else from using my email address fraudulently?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.