Ciatzo
Ciatzo
RRailway
Created by Ciatzo on 2/29/2024 in #✋|help
Recommended domain registrar
Hey, I purchased a custom domain to use with my website hosted on railway. However, I purchased the domain on godaddy, and found out they don't allow you to add a CNAME record to the root (@) of the domain. My website currently only works on the www subdomain. I would like to transfer my domain to a different registrar, that will allow me to properly link the root of the domain to the URL provided by railway. Are there any recommended registrar's that are known to work? Thanks! Project id: ble4979e-4e81-4258-ab74-dde97491a4ec
11 replies
RRailway
Created by Ciatzo on 2/26/2024 in #✋|help
Cron job to run script: Add separate service or not?
Hi, I have a website running on railway with django and a postgress database. I have a separate python script in the same repo as the Django project that updates the postgres database (that is also used by the main django project) with some external data. I want to run this script once a week, separately of the main service (which should always run). I saw you can use a cron job to schedule a job to run. However, if I add a cron job to my main service (which runs the website backend), it would run that service's start command instead. I could add a new service for running this job, but i'm not sure if I should add the same github repo twice as two separate services (that both run django to interact with the same postgress database service). What would be the recommended way to do this? Thanks in advance! Project id: b1e4979e-4e81-4258-ab74-dde97491a4ec
9 replies