Urgent for Freelance Client!: On Railway, Custom Domain Not Connecting since 3 Days Now from Nameche

Hi everyone, I have taken all steps in the documentation and on Google and StackOverflow to connect a custom domain I bought on Namecheap.com. The domain does not seem to connect since 3 days now. Meanwhile, I have been using the "Generated Domain" from Railway. Kindly help me urgently, as I am at the verge of losing a client and my hard-earned money. Thanks.
200 Replies
Percy
Percy9mo ago
Project ID: N/A
maxralph01
maxralph019mo ago
N/A
Adam
Adam9mo ago
Hey there, when you say the domain “does not seem to connect”, what do you mean? Does the Railway-generated domain work correctly? Please send any SSL settings on namecheap
maxralph01
maxralph019mo ago
Railway generated domain works correctly But the custom domain won't come up And just an hour ago, the custom domain have disappeared But when I try to re-add it, Railway tells me the custom domain is not available. Which means, Railway is somehow hiding it and won't let me change it
Adam
Adam9mo ago
Again, please explain what you mean by “won’t come up.” Do you mean it doesn’t show in the UI? Does it work when you access it?
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
I cannot access it on the UI
Adam
Adam9mo ago
I asked for SSL, please send the SSL page
maxralph01
maxralph019mo ago
Sorry, which is the SSL page. I am ignorant of this. ?
maxralph01
maxralph019mo ago
This is from Railway
No description
Adam
Adam9mo ago
No description
maxralph01
maxralph019mo ago
Ok. Thank you. A moment. I creenshgot it.
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
There you go
ThallesComH
ThallesComH9mo ago
also, is this is correct? should he be adding that to name servers?
Adam
Adam9mo ago
I don’t believe so, I’m not familiar with namecheap.
Brody
Brody9mo ago
yes this is very incorrect, please switch those nameservers back to the default
maxralph01
maxralph019mo ago
That was how I added them. I do not know if I am doing something wrong. But that is how I have been doing it with hostsailor.com hosting and namecheap
Brody
Brody9mo ago
namecheap works fine, when used correctly
ThallesComH
ThallesComH9mo ago
have you added that same domain to other services?
maxralph01
maxralph019mo ago
No, I have not. Only this. Please, enlighten me as I really need to get this working
Brody
Brody9mo ago
see this message please
maxralph01
maxralph019mo ago
Switched back to default What should I do next?
Brody
Brody9mo ago
screenshot that again for me please
maxralph01
maxralph019mo ago
OK
maxralph01
maxralph019mo ago
No description
Brody
Brody9mo ago
cool, what do you have on the advanced dns
maxralph01
maxralph019mo ago
Nothing There are no settings ..yet
Brody
Brody9mo ago
well theres your problem, or at least one of them
maxralph01
maxralph019mo ago
Exactly Because there is no connection So, how do I connect Railway from here?
Brody
Brody9mo ago
one step at a time
maxralph01
maxralph019mo ago
OK
Brody
Brody9mo ago
add your given cnames
9k5fs0mo.up.railway.app
an8sisgw.up.railway.app
9k5fs0mo.up.railway.app
an8sisgw.up.railway.app
doesnt matter what one you use for @ or www screenshot of that when youre done please
maxralph01
maxralph019mo ago
OK OK
maxralph01
maxralph019mo ago
No description
Brody
Brody9mo ago
bruh, no
maxralph01
maxralph019mo ago
Done
Brody
Brody9mo ago
please stop touching those settings put that back to the defaults, you need to add the given cnames to the advnaced dns section
maxralph01
maxralph019mo ago
Please, where is the advanced dns Sorry to ask
Brody
Brody9mo ago
its in your screenshot at the top, we have even talked about it just now
maxralph01
maxralph019mo ago
Ah ok Seen it
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
Here But the second one is in red
Unsmart
Unsmart9mo ago
because you didnt put cname for the second one
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
Still in red
Unsmart
Unsmart9mo ago
Thats not what I meant by cname. You need to change the first drop down to be cname
maxralph01
maxralph019mo ago
OK
Brody
Brody9mo ago
keep sending screenshots, pictures are worth 1000 words
maxralph01
maxralph019mo ago
OK
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
Like this, I believe? I am trying to rush everything so that you do not leave me And also so I can get this done quickly
Brody
Brody9mo ago
yes that is correct
maxralph01
maxralph019mo ago
So, am I right now? OK. Good Even with the 30 minutes, clause?
Brody
Brody9mo ago
as for the domain not showing up in railway, are you sure thats the correct service?
maxralph01
maxralph019mo ago
...on TTL Yes, I am venry sure. very*
Brody
Brody9mo ago
have you put the nameservers back to their defaults?
maxralph01
maxralph019mo ago
I've refreshed the page a thousand times, but those domains won't still show up Yes Is the 30min ok?
Brody
Brody9mo ago
was 30 mins the default?
maxralph01
maxralph019mo ago
Or should I make it "automatic'? Yes
Brody
Brody9mo ago
the default is fine
maxralph01
maxralph019mo ago
It was 30min by default OK Done Those domains have come up on Railway But they're still not working
Brody
Brody9mo ago
screenshots please
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
There And I have an additional Railway-generated domain
Adam
Adam9mo ago
What's the www. url doing there? That should not be there
maxralph01
maxralph019mo ago
OK What should I put there? I saw it on the docs
Brody
Brody9mo ago
why cant they have www???
maxralph01
maxralph019mo ago
And on Stackoverflow
Adam
Adam9mo ago
Because they already set up a redirect from www to no www in namecheap ^
maxralph01
maxralph019mo ago
Do not forget that the www. generated one of those keys I put on Namecheap
Adam
Adam9mo ago
You can, it's just redundant atm
Brody
Brody9mo ago
they should not do that in namecheap
Adam
Adam9mo ago
fair enough Not much of a difference
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
There
Brody
Brody9mo ago
namecheap does not support these redirects with https, it will cause issues, sorry i missed this, but please remove that redirect
maxralph01
maxralph019mo ago
The www.?
Brody
Brody9mo ago
please look at the screenshot i am replying to
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
OK
Brody
Brody9mo ago
that was not the screenshot i was replying to again, please remove the redirect here
maxralph01
maxralph019mo ago
No description
Brody
Brody9mo ago
thank you
maxralph01
maxralph019mo ago
It got removed already after the Advanced DNS setting
Brody
Brody9mo ago
ill check back in 30 mins
maxralph01
maxralph019mo ago
OK Thank you for your effort I am available
ThallesComH
ThallesComH9mo ago
already working in here, might not work for you for a few minutes due to caching issues
No description
ThallesComH
ThallesComH9mo ago
weird that railway didnt detect it yet, but anyway, the waiting game
Brody
Brody9mo ago
I too am getting the correct DNS results back, need to wait for railway and the rest of the world to see that though
maxralph01
maxralph019mo ago
Ah ok OK Not yet working here. Even on a new browser.
maxralph01
maxralph019mo ago
No description
ThallesComH
ThallesComH9mo ago
keep an eye at this, if it turns green and still not working, come back
maxralph01
maxralph019mo ago
Just to be sure, I hope we are looking good with this screenshot?
Brody
Brody9mo ago
new browser isn't applicable, we are now waiting for DNS propagation
maxralph01
maxralph019mo ago
Disappeared once more OK I can see them again
ThallesComH
ThallesComH9mo ago
green?
maxralph01
maxralph019mo ago
Not yet
Brody
Brody9mo ago
screenshots!!
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
Reloaded the page to see if it turns green. But they disappear entirely.
ThallesComH
ThallesComH9mo ago
try full refresh "shift + f5" just to make sure
ThallesComH
ThallesComH9mo ago
in my browser there's already something working
No description
ThallesComH
ThallesComH9mo ago
SSL issue appeared, but I guess it's just cache
maxralph01
maxralph019mo ago
OK Good
Brody
Brody9mo ago
please disable dnssec in namecheap
maxralph01
maxralph019mo ago
So, how do I fix this? OK Disabled
Brody
Brody9mo ago
please dont forget the screenshots
maxralph01
maxralph019mo ago
OK A moment There you go
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
I have a thousand browsers on my laptop Wouldn't show yet. Guess it's still the propagating thing ? And the SSL, saw that Railway offers free.
Brody
Brody9mo ago
this is just a waiting game, please be patient
maxralph01
maxralph019mo ago
OK Or has the DNSSEC removal solved this?
Brody
Brody9mo ago
yes railway does offer free ssl certs please be patient
maxralph01
maxralph019mo ago
OK How do I access this?
Brody
Brody9mo ago
access what
maxralph01
maxralph019mo ago
The SSL
Brody
Brody9mo ago
its automatic, you dont need to do anything
maxralph01
maxralph019mo ago
OK
ThallesComH
ThallesComH9mo ago
weird, shouldn't be done by now? @Brody still getting SSL issues
maxralph01
maxralph019mo ago
Not yet up I was replying to the client Not yet up I hope I do not lose you both
Brody
Brody9mo ago
we here are the domains showing in the service settings right now?
maxralph01
maxralph019mo ago
Not anymore
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
Change seen the www. has a loading icon
Brody
Brody9mo ago
what browser are you using? ive glanced over it until now, but that stuff should not be just disappearing randomly
maxralph01
maxralph019mo ago
Chrome, Chrome Dev, Edge, Firefox, Palemooon, Brave It is disappearig on Chrome I am using Chrome for the Railway dashboard
Brody
Brody9mo ago
maybe you have some extensions interfering, can you try opening the same page in a guest user?
maxralph01
maxralph019mo ago
The faansy.com? I have tried Incognito
Brody
Brody9mo ago
no, i talking about the issue of the domains disappearing from the service settings
maxralph01
maxralph019mo ago
OK They are here now
Brody
Brody9mo ago
remove the root domain from railway, then add it right back, do not touch namecheap
maxralph01
maxralph019mo ago
OK
Brody
Brody9mo ago
do this in the guest browser
maxralph01
maxralph019mo ago
Fresh CName generated kmkfdemh.up.railway.app
Brody
Brody9mo ago
do not touch namecheap, ignore that
maxralph01
maxralph019mo ago
Should I place it on Namecheap? OK
Brody
Brody9mo ago
whats the status in railway now
maxralph01
maxralph019mo ago
Let me show you It is up A moment
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
Green But the faansy.com is yet to be accessed My client says his friend can see it It is now from my end
Brody
Brody9mo ago
i can access it without any isssues at all, cert is valid
maxralph01
maxralph019mo ago
Caching OK. Good.
Brody
Brody9mo ago
do you want/need a www subdomain?
maxralph01
maxralph019mo ago
Yes
Brody
Brody9mo ago
okay then remove it from railway and add it back, dont touch namecheap
maxralph01
maxralph019mo ago
Let me show you So you can point at it I do not want to make any mistakes
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
Which should I remove from this?
Brody
Brody9mo ago
the www subdomain, remove it from railway and add it back, dont touch namecheap
maxralph01
maxralph019mo ago
And please, an example of how I should add the subdomain OK
Brody
Brody9mo ago
no examples needed, remove it and add it right back no overthinking
maxralph01
maxralph019mo ago
Removed and added back OK My client says they can now see the https From the dashboard, the www. is still loading
maxralph01
maxralph019mo ago
This happened
No description
maxralph01
maxralph019mo ago
And then swiftly, the next happened
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
So, I believe everything is fine and I should no longer worry, right?
Brody
Brody9mo ago
can you access your app from both those domains?
maxralph01
maxralph019mo ago
Not yet. I am in Mauritius. But my client in the US can. Proximity, I believe. Or caching Whichever
Brody
Brody9mo ago
okay yeah then just a little more waiting needed
maxralph01
maxralph019mo ago
I see it is hosted in Oregon
Brody
Brody9mo ago
but if it works for them, it will work for you in time
maxralph01
maxralph019mo ago
Yes, I know So, how about emails?
Brody
Brody9mo ago
yeah but that has nothing to do with dns
maxralph01
maxralph019mo ago
If I may ask?
Brody
Brody9mo ago
what about emails?
maxralph01
maxralph019mo ago
And thank yoy very much for this When I used to host with hostsailor, they gave me email settings like mail.faansy.com And we had a cpanel interface for managing it with webmail
Brody
Brody9mo ago
railway does not offer anything email related at all, so instead I highly recommend zoho
maxralph01
maxralph019mo ago
OK
Brody
Brody9mo ago
side question, may I ask if you're pro?
maxralph01
maxralph019mo ago
Cloud, NO Coding, I believe so
Brody
Brody9mo ago
I'm talking about railway pro plan
maxralph01
maxralph019mo ago
Oh no I am using the cheapest plan
Brody
Brody9mo ago
that will run out soon enough, and you are also hosting a site for a client, that is a pro usecase, so please make sure you upgrade to the pro plan at your earliest convenience
maxralph01
maxralph019mo ago
OK I will
Brody
Brody9mo ago
thank you for understanding
maxralph01
maxralph019mo ago
I really appreciate the time you put into this
Brody
Brody9mo ago
happy to help
maxralph01
maxralph019mo ago
Many thanks, once more
Brody
Brody9mo ago
any other questions?
maxralph01
maxralph019mo ago
None for now
Brody
Brody9mo ago
sounds good!
maxralph01
maxralph019mo ago
Hi If you're still there I would like to run some commands on my backend How do I go about this?
Brody
Brody9mo ago
railway does not provide ssh access, but there is alternatives depending on what you need, please tell me what commands
maxralph01
maxralph019mo ago
the storage:link for php php nartsan storage:link for Laravel So my images can show up
Brody
Brody9mo ago
you would need to run that as part of the build or install command
maxralph01
maxralph019mo ago
Hmm Ok
Brody
Brody9mo ago
i forget what one would be most applicable
maxralph01
maxralph019mo ago
Thought of that too, but wasn't sure
Brody
Brody9mo ago
is there even a build command being run? check the build table at the top of the build logs
maxralph01
maxralph019mo ago
OK A moment On the build logs, ther is quite a long list I do not know if to paste them here. It is very long The route link I used for it, won't work on production I made it into a route, so I run it in development. And hoped I could run same in production But it is not giving me the access
Brody
Brody9mo ago
show me the build table at the top of the build logs please
maxralph01
maxralph019mo ago
OK
maxralph01
maxralph019mo ago
No description
maxralph01
maxralph019mo ago
That it?
Brody
Brody9mo ago
so what is the exact command you need to run?
maxralph01
maxralph019mo ago
php artisan storage:link The route method worked for me on hostsailor.com
Brody
Brody9mo ago
in the service settings set the build command to php artisan storage:link && npm run build
maxralph01
maxralph019mo ago
ok Resolved. Thank you
Brody
Brody9mo ago
no problem!
Want results from more Discord servers?
Add your server