R
Railway3mo ago
Railay

How can I get the LetsEncrypt SSL Certificate for my domain?

My domain has an A-record pointing to a 3rd party hosting platform. The 3rd party is hosting the http:// and https:// version of the domain, and railway is hosting the www. The http:// and https:// redirect to www, but when a user accesses https://domain.com, they get an SSL certificate warning because the cert is not installed on the 3rd party, so the redirect to https://www fails. I can import the SSL certificate to the 3rd party host. How can I get the certificate used on my www domain?
7 Replies
Percy
Percy3mo ago
Project ID: 34108dc5-7795-469f-b853-2863bbedfa6f
Railay
RailayOP3mo ago
34108dc5-7795-469f-b853-2863bbedfa6f
Brody
Brody3mo ago
This is not something Railway supports, nor is it how certificates work to begin with, you need to have both domains registered to a service to have both domains have a certificate registered for them
Railay
RailayOP3mo ago
You mean, to share the same certificate, they both have to be hosted on the same platform?
Brody
Brody3mo ago
not quite
Railay
RailayOP3mo ago
@Brody I guess you mean a Railway service? I have the A record pointed at a 3rd party to run email and some other services. So if I understand the requirements correctly, i can’t point the non-www to railway
Brody
Brody3mo ago
you need to have both domains set in your service settings so that railway generates a certificate for them.
Want results from more Discord servers?
Add your server