Subdomain on linode
I have looked online for this, but I don't know which information might by outdated. But say I have my main domain example.com hosted on Netlify and I want subdomain backend.example.com hosted on Linode. At the moment I have an app on Linode and I already have the domain set up. The SOA Record says example.com and A/AAA record has Host set to backend and IP pointing to the linode IP. I am using goddady as the url hosting and I have an A record with
Host: backend.example.com
Points to : Linode IP
1 Reply
You have a few options here:
Set your subdomain as the primary domain in Linode's DNS manager, and then create an A Record with your Linode IP. For example, you'd create your Primary/SOA record for
backend.example.com
instead ofexample.com
.Set
example.com
as the primary domain, and only add A records for your desired subdomains. This would give you a bit more flexibility if you wanted to add additional subdomains forexample.com
to the same Linode DNS record, which is something you'd be unable to do if you chose option 1.