#Struggling to get subdomain working with Namecheap
16 messages · Page 1 of 1 (latest)
Project ID: N/A
Hey, have you tried reading through https://docs.railway.com/reference/errors/application-failed-to-respond?
Learn how to troubleshoot and fix the 'Application Failed to Respond' error.
Oh it looks to be a bug
I just set the port even though it was already set to 3000
Seemed to fix the issue
Hey @harsh schooner
Looks like you didn't have a port configured on your custom public domain. I went ahead and fixed that for you. 
We do some magic detection to add the port if your service is running, but I think you might have added your custom domain before your service was deployed.
So I set the port from 3000 -> 3000 and it fixed it
No the port wasn't set at all
Oh apologies
I ran into this problem too because of the statefulness of the magic detection. No worries
Just for context, the app was already deployed and then I set the custom domain.
Your records are in good shape btw
nslookup api.fritter.dev
Server: 100.100.100.100
Address: 100.100.100.100#53
Non-authoritative answer:
api.fritter.dev canonical name = kd8tpl86.up.railway.app.
kd8tpl86.up.railway.app canonical name = edge.railway.app.
Name: edge.railway.app
Address: 66.33.22.4
Name: edge.railway.app
Address: 66.33.22.1
Name: edge.railway.app
Address: 66.33.22.2
Name: edge.railway.app
Address: 66.33.22.3
dig api.fritter.dev
; <<>> DiG 9.10.6 <<>> api.fritter.dev
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50140
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;api.fritter.dev. IN A
;; ANSWER SECTION:
api.fritter.dev. 1799 IN CNAME kd8tpl86.up.railway.app.
kd8tpl86.up.railway.app. 60 IN CNAME edge.railway.app.
edge.railway.app. 300 IN A 66.33.22.2
edge.railway.app. 300 IN A 66.33.22.1
edge.railway.app. 300 IN A 66.33.22.3
edge.railway.app. 300 IN A 66.33.22.4
;; Query time: 244 msec
;; SERVER: 100.100.100.100#53(100.100.100.100)
;; WHEN: Fri Apr 11 17:14:43 WEST 2025
;; MSG SIZE rcvd: 164
Gonna mark this one as solved 
!s