How do I find my Domain ID?

Linode Staff

When writing some code to automatically point my domain to a new Linode I'm receiving a 500 error from the API. Apparently, I need the domain's ID however I am not seeing the domain ID in Cloud Manager. Any ideas on where I can find it?

2 Replies

There are a few ways to retrieve a domain ID, but if you are using the Cloud Manager the simplest resource will be the URL in your browser's address bar. After selecting the "Domains" tab, then clicking on a specific domain, the URL will look something like:

https://cloud.linode.com/domains/12345678

The number at the end of the URL is the ID of your domain!

If looking for additional methods for retrieving domain info, feel free to also reference our API documentation here which offers the curl command and Linode-Cli as alternatives.

You also might find this post helpful, which includes a sample bash script that utilizes curl to retrieve the domain ID.

Have the ID shown within the list of domains would have been great…

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct