Capital letters in Sub domain redirect

I want to create a Subdomain for my discord join link and I want to have Discord.Mydomain.us go to my discord join link but I need a capital “W” and it does not let me use one.

CNAME: discord
discord.gg.opts-slash.utwwr5h.redirect.center

CNAMEs are case-insensitive.

1 Like

DNS is case insensitive by default.
You can try to encode your cname:

More information:
https://tools.ietf.org/html/rfc4343

You could also point the cname to a new vHost your webserver and redirect it permanently (301) to your Discord. There are different ways to work around it.

1 Like

As others have mentioned DNS names are case insensitive, so we (toLower) everything. That being said I think you can do this with page rules instead.

Create an A record for discord and point it to 8.8.8.8. Then create a page rule for discord.yourdomain.com* and do a 301 redirect to discord.gg/wHatEvEr

1 Like

When I try to encode it says: Invalid hostname: use '@' to represent the root domain

`discord.gg.opts-slash.utw%57r5h.redirect.center`

You didn’t enter a name. I should look like

Or do it like @cs-cf mentioned.

Point an A record for “discord” to 8.8.8.8 (i guess your own server ip will work as well) and create a page rule:

Or whatever the discord domain is…

This topic was automatically closed after 14 days. New replies are no longer allowed.