public URL for projects

hello , I'm hosting a Discord bot on Railway and I'm looking to keep it up 24/7. Before I dive into setting everything up, I just wanted to check, can i get a public URL for my project on Railway to use for uptime monitoring?
Solution:
of course railway gives you a railway subdomain for your service head to your service settings and generate one. but if you want to monitor the health of a bot you would be better off foregoing a public url monitor and instead use a heartbeat monitor...
Jump to solution
40 Replies
Percy
Percy11mo ago
Project ID: N/A
Solution
Brody
Brody11mo ago
of course railway gives you a railway subdomain for your service head to your service settings and generate one. but if you want to monitor the health of a bot you would be better off foregoing a public url monitor and instead use a heartbeat monitor
约 - Wick
约 - WickOP11mo ago
can you please tell me how to get the url or if there's any videos show me how to get the url for doing uptime monitoring it
Brody
Brody11mo ago
does your bot run an http server too?
约 - Wick
约 - WickOP11mo ago
yes
No description
Brody
Brody11mo ago
go to the service settings and click generate under the public networking section
约 - Wick
约 - WickOP11mo ago
i cant find service settings xD sorry im new to railway can you show me with ss where to find the service settings ?
Brody
Brody11mo ago
close the deployment window and you will be in your service, click the settings tab
约 - Wick
约 - WickOP11mo ago
here ?
No description
Brody
Brody11mo ago
yep exactly
约 - Wick
约 - WickOP11mo ago
to show as nothing here yet
No description
Brody
Brody11mo ago
you just created the domain, please be patient
约 - Wick
约 - WickOP11mo ago
ahh okay sorry
Brody
Brody11mo ago
should not take more than 2 minutes
约 - Wick
约 - WickOP11mo ago
alright and after that is there any limit for like hours for uptime monitor or for hard usage ? im just asking for make sure of everything because i want to record a video of railway and share it in my yt channel
Brody
Brody11mo ago
well you are on the trial, the trial gives you 5$ in credits and once you deplete those credits your services will shut down and you will need to upgrade to hobby so not based on time, it's based on resource usage, and you get 5$ (only once) of resource usage
约 - Wick
约 - WickOP11mo ago
it means i get limit for resource usage and can't make more projects if i get on limit yes ? or all my projects will shut down when i ran out of resource usage ?
Brody
Brody11mo ago
there is a limit to how many projects you can create, but you shouldn't run into it unless you start spam creating projects, the longevity of the trial plan is mainly based on how fast (or how slow) you use those 5$ of credits up, once you do, everything stops and you will need to upgrade to hobby (paid plan) to restart your stuff
约 - Wick
约 - WickOP11mo ago
yeah i got it now , but its not that good xD i hope it built with when i ran out of resource usage just can't make more projects not make all my projects down
Brody
Brody11mo ago
it's actually very reasonable, it's a trial not a free plan
约 - Wick
约 - WickOP11mo ago
I appreciate it this work and this is a really great thing
Brody
Brody11mo ago
hobby plan is only 5$ for the entire account and then you also get 5$ of credits every month (non accumulative)
约 - Wick
约 - WickOP11mo ago
i get 5$ of credits every month for free ?
Brody
Brody11mo ago
you have to pay the 5$ subscription fee, but yes absolutely you do on the hobby plan
约 - Wick
约 - WickOP11mo ago
got it , so on trail i just have to be careful for not spam making projects and ill be fine yes ?
Brody
Brody11mo ago
you will need to eventually upgrade to hobby, remember it's only a trial and you will end up using those credits up sooner or later
约 - Wick
约 - WickOP11mo ago
yes got it , thanks a lot for help mate 😁
Brody
Brody11mo ago
no problem, is that domain working for you yet?
约 - Wick
约 - WickOP11mo ago
xD
No description
Brody
Brody11mo ago
约 - Wick
约 - WickOP11mo ago
i've opened on port 9000
Brody
Brody11mo ago
please read the docs page
约 - Wick
约 - WickOP11mo ago
ill read it and try with other port yes ill now
Brody
Brody11mo ago
just gonna say this now, another port isn't what you want the docs page has the answer though, so I don't feel the need to repeat 🙂
约 - Wick
约 - WickOP11mo ago
got it now salute
Brody
Brody11mo ago
it's working?
约 - Wick
约 - WickOP11mo ago
yes with host 0.0.0.0
Brody
Brody11mo ago
perfect, any other questions?
约 - Wick
约 - WickOP11mo ago
no i got everything clear now , thanks again for help
Brody
Brody11mo ago
no problem!
Want results from more Discord servers?
Add your server