DEV Community 👩‍💻👨‍💻

Discussion on: What's DNS?

sanwal_chaudhry profile image
Sanwal Chaudhry

Thanks a lot. Could you please explain the last line of the article "this won't always work because you can have multiple websites running on the same server at the same IP address". If you can please explain this I would be very grateful to you.

gabeguz profile image
Gabriel Guzman Author

Sure, I can have multiple CNAMES pointing to the same IP address, for example: -> -> ->

When I type into my browser, the server won't know which website I'm asking for, so it will return either the default website for that server, or an error.