Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-10-2015, 12:44 AM   #1
Upendra Pratap Singh
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110
Blog Entries: 4

Rep: Reputation: 0
does IP address belong to the site or the server hosting it

When DNS resolves an IP address from the host name, does it give the IP address of the website or the server hosting the website?

Looks like we cannot have an IP address for a website. Am I right?
Old 03-10-2015, 01:08 AM   #2
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
For that domain name.
Old 03-10-2015, 01:13 AM   #3
Upendra Pratap Singh
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
does that domain need to be a fully qualified domain name?
Old 03-10-2015, 06:21 AM   #4
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
The IP address belongs to whomever owns the net block that contains it.

The DNS is nothing more than a mapping of names to IP addresses. The management of Domain names and IP addresses is completely separate, the DNS system exists to join the two together.

If we go back to your question "Does a website have an IP address?" well if you want to access it on the Internet then it must have one else it would be useless and inaccessible.

However a slightly different question "Does a website have a unique IP address?" is a little harder to answer as there is no requirement for a website to have a unique IP addresses, the HTTP protocol allows you to serve unique content based on the HTTP request itself.

FYI HTTPS does require unique IP addresses for different sites but that is a whole other subject.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Are web hosting support companies belong to IT or they are under KPO siranjeevi General 11 06-04-2010 09:51 AM
Doubt Regarding Multiple site hosting on single server priyadarshan Linux - Networking 4 09-04-2009 10:34 AM
Virtual hosting of site on Apache server.. ppallavi05 Red Hat 1 07-29-2009 04:46 AM
Linux hosting - Multi-site on the same server hapytran Linux - Server 13 12-01-2007 06:04 PM
Hosting a Intranet Web Site in Apache Server Bildge Ratt SUSE / openSUSE 3 08-31-2007 05:14 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration