# Difference between a domain name and a URL?

**URL:** <https://forum.code.org/t/difference-between-a-domain-name-and-a-url/11033>\
**Category:** Unit and Lesson Discussion\
**Tags:** csp-unit-1\
**Created:** [October 13, 2017, 12:54pm UTC](https://forum.code.org/t/difference-between-a-domain-name-and-a-url/11033 "2017-10-13T12:54:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![claudetteguy16](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@claudetteguy16](https://forum.code.org/u/claudetteguy16)\
**Post date:** [October 13, 2017, 12:54pm UTC](https://forum.code.org/t/difference-between-a-domain-name-and-a-url/11033/1 "2017-10-13T12:54:11Z")

</div>

A student asked me this question today after the video for this lesson - is the URL the same thing as the domain name? I hedged and said I’d get back to her today. I found this: [https://www.quora.com/What-is-the-difference-between-URL-and-DNS](https://www.quora.com/What-is-the-difference-between-URL-and-DNS)

Is this an accurate description of the difference?

Thanks!

---

<div class="post-metadata">

**Author:** ![claudetteguy16](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@claudetteguy16](https://forum.code.org/u/claudetteguy16)\
**Post date:** [October 13, 2017, 12:57pm UTC](https://forum.code.org/t/difference-between-a-domain-name-and-a-url/11033/2 "2017-10-13T12:57:38Z")

</div>

The first two definitions on this page might be a better resource: [https://domains.google/learn/the-difference-between-a-url-domain-website-more.html#/](https://domains.google/learn/the-difference-between-a-url-domain-website-more.html#/)

Is there a [code.org/another](http://code.org/another) reliable resource that answers this question?

---

<div class="post-metadata">

**Author:** ![anmrobnott](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/anmrobnott/32/505_2.png) [@anmrobnott](https://forum.code.org/u/anmrobnott)\
**Post date:** [October 16, 2017, 1:07am UTC](https://forum.code.org/t/difference-between-a-domain-name-and-a-url/11033/3 "2017-10-16T01:07:32Z")

</div>

@claudetteguy16

I don’t think there is an ‘official’ [Code.org](http://Code.org) resource for this excellent question. I was thinking about an analogy with the land in a town being the domain and the address of a specific building in the town is the URL. The second link you provided does a better job of explaining it. I may pose this question to my students to see where they are.

Happy Computing,  
Andrea
