custom domain issue
dragontxl
FREEOP
a year ago
I deployed a project and can be accessed using railway domain. When I try to access the project via a custom domain it doesn't work. Here's the details:
- p2v.yugongtxl.dpdns.org has been well resolved ,if we ping: C:\Users\pc>ping p2v.yugongtxl.dpdns.org Pinging p2v.yugongtxl.dpdns.org [104.21.77.232] with 32 bytes of data: Reply from 104.21.77.232: bytes=32 time=172ms TTL=50 Reply from 104.21.77.232: bytes=32 time=177ms TTL=50 Reply from 104.21.77.232: bytes=32 time=179ms TTL=50 Reply from 104.21.77.232: bytes=32 time=173ms TTL=50 Ping statistics for 104.21.77.232: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milliseconds: Minimum = 172ms, Maximum = 179ms, Average = 175ms
- Cloudflare DNS setting: CNAME P2v 》h23azrlx.up.railway.app Proxy status: Proxied TTL:auto
- When accessing https://p2v.yugongtxl.dpdns.org/, the page displays: "Missing 'url' parameter."
- No error in Deploy logs nor http logs.
- When clicking F12 and checking from the console: GET https://p2v.yugongtxl.dpdns.org/ 400 Uncaught (in promise) {cmd: 'beacon-report-mes', err: {…}} (Anonymous) @ translate-api-f5d75aa0.js:16 Show 1 more frame Collapse VM75 novel_content.script:947 siteType: other_page originalUrl host: p2v.yugongtxl.dpdns.org VM75 novel_content.script:947 originalUrl: https://p2v.yugongtxl.dpdns.org/ VM75 novel_content.script:947 DomDistiller debug level: 0 VM75 novel_content.script:3983 extractCost:83 VM75 novel_content.script:3993 version: 20231205 VM76 x5_distiller.script:1 siteType: other_page originalUrl host: p2v.yugongtxl.dpdns.org VM76 x5_distiller.script:1 DomDistiller debug level: 0 VM76 x5_distiller.script:1 ContentExtractor::extractContent, userSelectEnabled = true, this = Class$S106@1 VM76 x5_distiller.script:1 findNext[object HTMLHtmlElement]https://p2v.yugongtxl.dpdns.org/ VM76 x5_distiller.script:1 findPrevious[object HTMLHtmlElement]https://p2v.yugongtxl.dpdns.org/ VM76 x5_distiller.script:1 userSelectEnabled: true
PLZ help me out,Thanks!
2 Replies
a year ago
Cloudflare’s proxy (orange cloud) might be modifying requests in a way your app doesn’t like. Let’s switch it to DNS Only to send traffic directly to Railway.
also check the screenshots for reference.
- Log in to Cloudflare:
- Open your Cloudflare dashboard and select the your preferred domain.
- Go to DNS Settings:
- Click DNS > Records.
- Find the CNAME Record:
- Look for the CNAME record for P2v pointing to your domain.
- Turn Off Proxy:
- Click Edit or toggle the Proxy status from Proxied (orange cloud) to DNS Only (grey cloud).
- Save the changes.
- Wait a Moment:
- DNS changes usually take effect quickly (since TTL is Auto), but give it 1–5 minutes to be safe.
Attachments
dragontxl
FREEOP
a year ago
have done that. but the problem still there. Thanks for helping.
Attachments