#DNS CloudFlare

58 messages · Page 1 of 1 (latest)

glad sandal
#

Confirmation regarding my cloudflare DNS setup.

eternal pivotBOT
#

Project ID: N/A

royal pecanBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

glad sandal
#

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.

twin socket
#

screenshot please

#

and screenshot of the domains in railway please

#

how long ago did you set this up?

glad sandal
#

2 hours ago

twin socket
#

what do you get when you visit the site

glad sandal
twin socket
#

my bad, i should have told you about this

glad sandal
#

No worries! Did I enter the Type, Name, and content correctly though/

twin socket
#

you did

glad sandal
#

I'll look over the docs and wait hopefully it will work. Thanks

twin socket
#

it should be a near instant change, make sure to clear your cache for your custom domain in chrome though

glad sandal
#

Will do and I'll update if I get it working or hit a snag again

twin socket
#

perfect!

glad sandal
#

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?

twin socket
#

are you pushing to the same branch the railway service is set to deploy from?

glad sandal
#

Yes

#

main*

twin socket
#

can you show me the github related settings in the service?

glad sandal
#

sure one moment

#

is this what you mean?

twin socket
#

its not, id like to see the the github related settings in the railway service settings, that is your account settings

#

nope

glad sandal
#

could you be more specific

twin socket
glad sandal
#

Ohh that

twin socket
#

and those are the correct settings?

glad sandal
#

yes they were working before I tried to add a custom domain

twin socket
#

can you remove the repo (little X) and re-add it

glad sandal
#

ok

#

it's building lets see

#

hopefully it doesn't fail

#

it failed lol

twin socket
#

what kind of app is this anyway?

glad sandal
#

react front end only

#

with email js

twin socket
#

create-react-app?

glad sandal
#

yes

twin socket
#

can you send your package.json

glad sandal
#

{
"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"
]
}
}

glad sandal
#

Ok I shall report back thank you for your help so far

glad sandal
#

It works

#

Had to mess around with a few things but followed the solution and fixed some build erros

twin socket
#

awsome!

#

mind if i see your new package.json?

glad sandal
#

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"
]
}
}

twin socket
#

looks good!

glad sandal
#

Cool glad we were able to resolve it