Do all domains on the same shared hosting server have the same IP or ID

Posted by silow on Server Fault See other posts from Server Fault or by silow
Published on 2011-02-10T13:19:12Z Indexed on 2011/02/18 15:26 UTC
Read the original article Hit count: 241

Here's what I've got:

  • siteA.com and siteB.com are hosted on hostgator. They're hosted on the same account of a shared hosting server (not VPS or dedicated).
  • script.php is an external site that each of these 2 sites are accessing.

I noticed that when siteA.com or siteB.com access the outside script.php, the script identifies them both as 1a.12.12ab.static.theplanet.com (apparently because hostgator uses theplanet.com servers). The fact that they're identified as the same value isn't surprising because after all they're hosted on the same account /home/user123/public_html.

What I'm wondering about is how about other websites that are hosted on the same shared hosting server, but under other accounts. Basically other websites that are under another developer's control, but just happen to share the same hardware (hosting server). Do they also have the exact same identifier 1a.12.12ab.static.theplanet.com or that changes by account?

© Server Fault or respective owner

Related posts about webserver

Related posts about ip-address