a year ago
Hi. I'm trying to add a domain and a subdomain for my 2 services (backend and frontend). The domain is let's say "myapp.com" and for backend, I am trying to add "api.myapp.com" but it is asking for CNAME. And there's just one CNAME.
Could I get some help as to what I am doing wrong?
8 Replies
I added the domain and I am able to access my app on those but I see no way of generating ssl and when I go to that route railway it says unsecure too
a year ago
What do you mean by there is only one CNAME? When you add a domain to a service you're given a CNAME that you then have to add to your domain registrar. If you have two services you should be able to add a domain to each (you can even add multiple domains to a single service if desired).
a year ago
I see no way of generating ssl and when I go to that route railway it says unsecure too
What happens when you go to the site using https://? Railway will auto assign an ssl certificate for you
Auto forwarding to https is something you're app has to do (possibly your reverse proxy).
x-lem
> I see no way of generating ssl and when I go to that route railway it says unsecure too What happens when you go to the site using https://? Railway will auto assign an ssl certificate for you Auto forwarding to https is something you're app has to do (possibly your reverse proxy).
a year ago
Auto forwarding to https is something you're app has to do
We do this, the user's app does not need to.
When I navigate to the site by clicking on the URL on the service, it takes me to https:// but says that "Not secure"
And when I simply type my url like myapp.com it takes me to the http page of dynadot (got the domain from there)
