How many Record A i need for my Subdomain?

Sorry again for this basic questions but i see that many developers have not clear ideas :)

I need that my subdomain load from this 2 url: http://subdomain.example.com BUT ALSO http://www.subdomain.example.com

For this settings i need 2 record A? OR only the first?

subdomain      A       12.34.56.78
www.subdomain  A       12.34.56.78

NB: i ask this information because i see in my Linode DNS Manager that my primary domain have 2 record A:

(nothing) A       12.34.56.78
www       A       12.34.56.78

1 Reply

Yep, you'll need to add both records, one for subdomain, which would be effective for http://subdomain.example.com and another for www.subdomain which would be effective for http://www.subdomain.example.com

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