Domain won't resolve without www

I've pointed two domains at the linode nameservers, and am getting the same result with both:

http://www.domain.com loads fine, but
http://domain.com can't be found

I set up a single A record with blank hostname pointing to the IP, and a single CNAME record setting www as an alias of domain.com

The apache domain.com.conf is set up as:
ServerName domain.com
ServerAlias www.domain.com

What am I missing?

3 Replies

Nevermind, I guess it was just taking longer for the DNS settings to take effect than I expect! For reference, the settings described in the OP do appear to be correct.

Hey @booker_t. We update DNS records about every 15 minutes, but it can sometimes take much longer for the records to update globally. It sounds like that was the case here. Are you still seeing issues?

Yep, all working as expected! For some reason the average time for DNS update for me seems to have been an hour or more, but now that everything's set up it's working perfectly.

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