Subdomains, www.domain.com and domain.com
pasiekak
PROOP

a year ago

Hello, I have just deployed my app on railway and successfully redirected my domains using CNAME, I have question about redirecting [www.domain.com](www.domain.com) address.
My setup looks like this.
On railway:

  1. Subdomain, [test.api.mydomain.com](test.api.mydomain.com)

  2. Subdomain, www.[test.api.mydomain.com](test.api.mydomain.com)
    On my domain provider

  3. CNAME [test.api.mydomain.com](test.api.mydomain.com) -> copied from railway address

  4. CNAME www.[test.api.mydomain.com](test.api.mydomain.com) -> second copied from railway address

Everything is working but I can't shake the thought that this is not how it should be configured.
Could someone please confirm my doubts or dispel them?
🚄 🚄 🚄

1 Replies

pasiekak
PROOP

a year ago

d0edc753-db16-4d38-89d3-d1fa9a225255


Loading...