Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was wondering how a hosting company can verify that you own a domain from another company that registers domains. I know that you change the DNS at the register site, and that you put the website in hosting company's site, but is that all? Thanks!

share|improve this question

migrated from stackoverflow.com Jul 15 '10 at 5:54

This question came from our site for professional and enthusiast programmers.

1 Answer 1

That's all there is to it. the hosting company takes your word for it that you own the domain. If you cannot change the DNS to point to their servers, then you don't own it. Either way they are happy to keep your money. The only reason they need to know your domain is that in a shared hosting environment your domain shares an IP with other domains and they need to tell the web server which of several accounts to serve the pages from. If you wanted to have several domains resolve to the same site in a shared hosting environment then they'd need to point all of the possible domains to a single account - for which they'd charge you more.

share|improve this answer
    
Interesting! What happens if multiple people in the same hosting company say they own a domain, and that DNS is directed towards the hosting company. How does the hosting company which person actually owns it? –  Guy Jul 15 '10 at 2:52
1  
That creates a race condition. Some (most?) hosting companies will catch this and report an error (domain already hosted here or some such). Others will redirect to the second account which would allow someone to spoof the real site. I'd like to think the hosting company would catch this in almost all cases but I know of one case where they did not. Slightly different case, my current host moved me to a new server a while back and never deleted the account on the old server. One day I signed on and my web site was pointing to the old account which was then 9 months stale. –  T.Rob Jul 15 '10 at 3:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.