News for hackers. Stuff that matters.

Ask HN: How do services allow you to use custom domains?

They usually ask you to set an A and CNAME record in your domain settings. How does me entering these details translate into them being able to service a request to my domain? How do they know which website to service if all their customers are pointing to the same records?
( 2 comments | on HN )
Re:Ask HN: How do services allow you to use custom domains? by fabrixxm on Sunday September 24, 2017 @12:05PM (#15325213)
Re:Ask HN: How do services allow you to use custom domains? by detaro on Sunday September 24, 2017 @11:57AM (#15325172)
The request says which domain it is for.