Adding domains and subdomains from dynadot
affanisautomated
PROOP

7 months 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?

$10 Bounty

8 Replies

affanisautomated
PROOP

7 months ago

project id: c243ded6-9e79-4752-857d-5b6f31fd8cc2


affanisautomated
PROOP

7 months ago

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


affanisautomated
PROOP

7 months ago

p.s: I added "myapp.com" as the domainn


x-lem
HOBBY

7 months 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).


x-lem
HOBBY

7 months 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 tooWhat happens when you go to the site using https://? Railway will auto assign an ssl certificate for youAuto forwarding to https is something you're app has to do (possibly your reverse proxy).

brody
EMPLOYEE

7 months ago

Auto forwarding to https is something you're app has to do

We do this, the user's app does not need to.


affanisautomated
PROOP

7 months ago

When I navigate to the site by clicking on the URL on the service, it takes me to https:// but says that "Not secure"


affanisautomated
PROOP

7 months ago

And when I simply type my url like myapp.com it takes me to the http page of dynadot (got the domain from there)


Loading...