#DNS CloudFlare
58 messages · Page 1 of 1 (latest)
Project ID: N/A
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.
screenshot please
and screenshot of the domains in railway please
how long ago did you set this up?
2 hours ago
what do you get when you visit the site
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
No worries! Did I enter the Type, Name, and content correctly though/
you did
I'll look over the docs and wait hopefully it will work. Thanks
it should be a near instant change, make sure to clear your cache for your custom domain in chrome though
Will do and I'll update if I get it working or hit a snag again
perfect!
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?
are you pushing to the same branch the railway service is set to deploy from?
can you show me the github related settings in the service?
its not, id like to see the the github related settings in the railway service settings, that is your account settings
nope
Ohh that
and those are the correct settings?
yes they were working before I tried to add a custom domain
can you remove the repo (little X) and re-add it
what kind of app is this anyway?
create-react-app?
yes
can you send your package.json
{
"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"
]
}
}
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
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"
]
}
}
looks good!
Cool glad we were able to resolve it
