TCP/IP can be and address to tell the position of A or the position and B.
Domain Name System is based on TCP/IP, and makes it more easier to read.
If TCP/IP is the address on the envelope, HTTP would be the content of that envelope, respond to The position B what content B request from A address.