Blog. redirected to www.blog

Hi,

After reading the documentation and checking the set up I cannot figure out why my site it’s been redirected from blog. to www.blog.

The site is blog.roomolo.com and get’s redirected to www.blog.roomolo.com.

I am using external DNS configuration, as follows:

;; ANSWER SECTION:
blog.roomolo.com. 1882 IN CNAME roomolo-blog.netlify.app.
roomolo-blog.netlify.app. 19 IN A 68.183.215.91
roomolo-blog.netlify.app. 19 IN A 167.99.129.42

When I access https://blog.roomolo.com all I get is a 301 to https://www.blog.roomolo.com/

Many thanks

@roomolo-dev Welcome to the Netlify community.

What are your settings in Domain Management -> Domains -> Custom Domains?

You should have blog.roomolo.com set as your primary domain, with the www version redirecting to that.

Hi, many thanks for your prompt reply.
Indeed I do have blog.roomolo.com set as primary, although I do not have a www entry.

Welcome to Netlify Community!

Switch post category from connect to support

Putting your post in the relevant category will make it easier for people who have the same issue you had fix it easier.