Hi, yesterday I deployed a hugo site using netlify. The the site is host on a subdomain “blog.example.com”. However the primary domain The primary domain example.com is hosted on a different service.
Now the problem is when I type blog.example.com on the url bar, it takes me to the site, but when I browse the site, meaning visiting other pages within the site. It redirects to the example.netlify.com url!
How do I fix that?
To know how I configured the domain, see the screenshots below.
@shmishkat When you “view source” on the site that’s hosted at
blog.example.com do the
href= values of your links point to the same site, (stay on
blog.example.com), or do they point to