2 years ago
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?
6 Replies
2 years 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
You mean, to share the same certificate, they both have to be hosted on the same platform?
2 years ago
not quite
@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
2 years ago
you need to have both domains set in your service settings so that railway generates a certificate for them.