R
Railway16mo ago
zara

DNS CloudFlare

Confirmation regarding my cloudflare DNS setup.
39 Replies
Percy
Percy16mo ago
Project ID: N/A
zara
zaraOP16mo 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
Brody16mo ago
screenshot please and screenshot of the domains in railway please how long ago did you set this up?
zara
zaraOP16mo ago
2 hours ago
Brody
Brody16mo ago
what do you get when you visit the site
zara
zaraOP16mo ago
Brody
Brody16mo 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
zaraOP16mo ago
No worries! Did I enter the Type, Name, and content correctly though/
Brody
Brody16mo ago
you did
zara
zaraOP16mo ago
I'll look over the docs and wait hopefully it will work. Thanks
Brody
Brody16mo ago
it should be a near instant change, make sure to clear your cache for your custom domain in chrome though
zara
zaraOP16mo ago
Will do and I'll update if I get it working or hit a snag again
Brody
Brody16mo ago
perfect!
zara
zaraOP16mo 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
Brody16mo ago
are you pushing to the same branch the railway service is set to deploy from?
zara
zaraOP16mo ago
Yes main*
Brody
Brody16mo ago
can you show me the github related settings in the service?
zara
zaraOP16mo ago
sure one moment is this what you mean?
Brody
Brody16mo ago
its not, id like to see the the github related settings in the railway service settings, that is your account settings nope
zara
zaraOP16mo ago
mildpanic you be more specific
Brody
Brody16mo ago
zara
zaraOP16mo ago
Ohh that
Brody
Brody16mo ago
and those are the correct settings?
zara
zaraOP16mo ago
yes they were working before I tried to add a custom domain
Brody
Brody16mo ago
can you remove the repo (little X) and re-add it
zara
zaraOP16mo ago
ok it's building lets see hopefully it doesn't fail it failed lol
Brody
Brody16mo ago
what kind of app is this anyway?
zara
zaraOP16mo ago
react front end only with email js
Brody
Brody16mo ago
create-react-app?
zara
zaraOP16mo ago
yes
Brody
Brody16mo ago
can you send your package.json
zara
zaraOP16mo 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
zaraOP16mo 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
Brody16mo ago
awsome! mind if i see your new package.json?
zara
zaraOP16mo 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
Brody16mo ago
looks good!
zara
zaraOP16mo ago
Cool glad we were able to resolve it
Brody
Brody16mo ago
indeed
Want results from more Discord servers?
Add your server