Domain names

The way to reach a sever is through its Domain name . For example

  1. google.com
  2. app.100xdevs.com
  3. x.com

IPs

Every domain that you see, actually has an underlying IP that it resolves to.

You can check the ip by running the ping command.

ping google.com

Screenshot 2024-08-25 at 6.56.10 PM.png

When you try to visit a website, you are actually visiting the underlying IP address.

Real world analogy -

Domain name - Phone contact

IP - There real phone number

Screenshot 2024-08-25 at 6.58.40 PM.png