How do hosting companies know who a domain belongs to? nameservers...

Associate
Joined
15 Feb 2006
Posts
1,872
Location
hell
Hi guys

Had a random question that can probably be solved easily.

Let's say I register the domain www.example.com at a domain name provider.

I then buy some hosting at a webhosting provider.

In order to use my webhosting with the domain I registered, I have to change the nameservers within the domain name provider DNS settings.

What if at the same time, another person "adds" my domain to their hosting on the same webhosting provider (that shares nameservers).

How would the hosting site know the domain is mine and not the other persons?!

Thanks
 
The only way I can think of is if they do a whois on the domain name and they would see it would have your contact details/name etc against it.
 
ie you have an account and I have an account on the same nameservers, another person points thier domain name over to the same nameservers as us we could add the domain name to our account.

Unless the zone is added onto an account already and created before the DNS is changed which is generally what happens.
 
There's no way for them to know. Although normally you would create an account with the hosting company prior to pointing the nameservers. At which point if the domain already existed in their DNS servers, you/they would get an error message when provisioning the account or adding the domain.
 
The likeliness of somebody else adding your domain to the same hosting company in the space of you changing your name servers and adding it yourself is extremely slim.

In the extreme unlikeliness of this happening contacting your web host and depending on what information is available on the whois database should be fairly simple to confirm ownership.
 
What if at the same time, another person "adds" my domain to their hosting on the same webhosting provider (that shares nameservers).

This doesn't make any sense. No one else can point your domain to their hosting without access to your admin panel.

ie you have an account and I have an account on the same nameservers, another person points thier domain name over to the same nameservers as us we could add the domain name to our account.

Unless the zone is added onto an account already and created before the DNS is changed which is generally what happens.

This doesn't make any sense. Hundreds of domains are pointed at co-hosting. You can't just add the domain to your account because of this.

:confused:
 
This doesn't make any sense. No one else can point your domain to their hosting without access to your admin panel.



This doesn't make any sense. Hundreds of domains are pointed at co-hosting. You can't just add the domain to your account because of this.

:confused:

If a random domain name is pointing to a set of nameservers on the same server as you and the domain is not yet tied to any account, another user on the using the same nameservers as you can attach the domain name to thier account but only if it is not attached to another account already.

So for example, you purchased a new domain name pointed it at your hosts nameservers and another user knew about the domain name who is also on the same nameservers as you in this time before you add it to your account the other user can add the domain name to thier account. ( however chances of the user finding out the domain name or you have not added the domain to an account already is minimal )

I still don't feel I have explained myself very well but anyway hope this makes sense.
 
Hi guys

Had a random question that can probably be solved easily.

Let's say I register the domain www.example.com at a domain name provider.

I then buy some hosting at a webhosting provider.

In order to use my webhosting with the domain I registered, I have to change the nameservers within the domain name provider DNS settings.

What if at the same time, another person "adds" my domain to their hosting on the same webhosting provider (that shares nameservers).

How would the hosting site know the domain is mine and not the other persons?!

Thanks

They'd use the WHOIS to confirm who the owner of the domain was, and the other person would likely have their domain related data purged from the database.

In the event of a dispute, they'll ask you to prove who you are, which generally becomes a nice pain in the back side for the user from my experience.

This can likely mean that your domain name is now pointing to the wrong place, and you'll now need to wait between 8 and 36 hours for your DNS to propagate once again.

If you think that sounds bad, you're probably right. It could probably be done in a nicer way, but it's not from my experience. In any event, when moving your site, ensure the hosting is setup and working properly before you even think of updating the DNS.
 
Back
Top Bottom