R
Railway10mo ago
zara

DNS CloudFlare

Confirmation regarding my cloudflare DNS setup.
39 Replies
Percy
Percy10mo ago
Project ID: N/A
zara
zara10mo ago
I added 2 cloudflare name servers and Type : CNAME Name: domain name Content: the code railway provides Proxy status: proxied TTL : auto Will provide screen shot but I will be deleting after for privacy.
Brody
Brody10mo ago
screenshot please and screenshot of the domains in railway please how long ago did you set this up?
zara
zara10mo ago
2 hours ago
Brody
Brody10mo ago
what do you get when you visit the site
zara
zara10mo ago
Brody
Brody10mo ago
have a look at this https://docs.railway.app/deploy/exposing-your-app#provider-specific-instructions my bad, i should have told you about this
zara
zara10mo ago
No worries! Did I enter the Type, Name, and content correctly though/
Brody
Brody10mo ago
you did
zara
zara10mo ago
I'll look over the docs and wait hopefully it will work. Thanks
Brody
Brody10mo ago
it should be a near instant change, make sure to clear your cache for your custom domain in chrome though
zara
zara10mo ago
Will do and I'll update if I get it working or hit a snag again
Brody
Brody10mo ago
perfect!
zara
zara10mo ago
Ok It seems like it is working after I selected the Full Encrypts end-to-end, using a self signed certificate on the server for SSL/TLS only thing I noticed is my last commit was updated 16days ago and my recent commits are not going to any of the domains railway.app or .com. How can I make sure they are updating?
Brody
Brody10mo ago
are you pushing to the same branch the railway service is set to deploy from?
zara
zara10mo ago
Yes main*
Brody
Brody10mo ago
can you show me the github related settings in the service?
zara
zara10mo ago
sure one moment is this what you mean?
Brody
Brody10mo ago
its not, id like to see the the github related settings in the railway service settings, that is your account settings nope
zara
zara10mo ago
mildpanic you be more specific
Brody
Brody10mo ago
zara
zara10mo ago
Ohh that
Brody
Brody10mo ago
and those are the correct settings?
zara
zara10mo ago
yes they were working before I tried to add a custom domain
Brody
Brody10mo ago
can you remove the repo (little X) and re-add it
zara
zara10mo ago
ok it's building lets see hopefully it doesn't fail it failed lol
Brody
Brody10mo ago
what kind of app is this anyway?
zara
zara10mo ago
react front end only with email js
Brody
Brody10mo ago
create-react-app?
zara
zara10mo ago
yes
Brody
Brody10mo ago
can you send your package.json
zara
zara10mo ago
{ "name": "r1s", "version": "0.1.0", "private": true, "dependencies": { "@emailjs/browser": "^3.11.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.9.0", "react-scripts": "5.0.1", "react-scroll-to-top": "^3.0.0", "web-vitals": "^2.1.4" }, "devDependencies": { "typescript": "4.9.5", "@babel/plugin-proposal-private-property-in-object": "^7.0.0" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }
zara
zara10mo ago
Ok I shall report back thank you for your help so far It works Had to mess around with a few things but followed the solution and fixed some build erros
Brody
Brody10mo ago
awsome! mind if i see your new package.json?
zara
zara10mo ago
sure { "name": "r1s", "version": "0.1.0", "private": true, "dependencies": { "@emailjs/browser": "^3.11.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.9.0", "react-scripts": "5.0.1", "react-scroll-to-top": "^3.0.0", "serve": "^14.2.0", "web-vitals": "^2.1.4" }, "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.0.0", "typescript": "4.9.5" }, "scripts": { "start": "serve build -s -n -L -p $PORT", "dev": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }
Brody
Brody10mo ago
looks good!
zara
zara10mo ago
Cool glad we were able to resolve it
Brody
Brody10mo ago
indeed
Want results from more Discord servers?
Add your server
More Posts