How do I create a wildcard domain in the DNS Manager?

Linode Staff

Hello - I am trying to make a wildcard DNS A record. I would like anything that is staging.[whatever].example.com to go to a different IP than my main wildcard domain.

I can do *.example.com with no problem, but I can't do staging.*.example.com.

Is this possible in DNS?

2 Replies

The DNS record that you wish to use is not valid, as a wildcard must always be the furthest subdomain from the TLD. This can be seen on Wikipedia's documentation for wildcard domains.

If you wish to have a staging version of a wildcard subdomain point to a different IP, you might want to try *.staging.example.com.

@andrewbrining

I want to add a wildcard subdomain CNAME, but I get the below error:
• You have entered an invalid target. It must be a valid hostname.
• Invalid hostname '*.stats'

The information being submitted:
hostname: *.stats.my.tld
aliases to: click.other.tld. (yes there is a dot at the end)

Please guide.

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