I’m working on creating a website on Okteto - it has a backend and a frontend, both deployed on the following two URLs:
They work just fine, however, I would like to use a custom domain for both of them respectively, but I’ve hit a roadblock.
I would like to map the above-mentioned URLs the following way:
I used these DNS settings for that:
However, when visiting the custom domain URLs, I get a 404 page.
I assumed it would be something with my
docker-compose.yml, but I have tried adding all the following labels and none of them seem to work:
(not at the same time, of course, I tried each of these separate)
As you might notice, I am using Cloudflare and would like to note that I tried both of their DNS modes: “Proxied” and “DNS only”.
I have read the docs and can still not solve it - what am I doing wrong?