R
Railway2y ago
Amjad

help getting www subdomain working

I have my site ssdo.org.pk, whenever anybody enters www before the URL it shows website not protected message, my project id is c646e44b-a2dd-41c4-94de-c0f00566da1d
207 Replies
Percy
Percy2y ago
Project ID: c646e44b-a2dd-41c4-94de-c0f00566da1d
Percy
Percy2y ago
Brody
Brody2y ago
show me a screenshot of the domains in railway?
Amjad
AmjadOP2y ago
Brody
Brody2y ago
whos your dns provider
Amjad
AmjadOP2y ago
bluehost
Brody
Brody2y ago
then bluehost needs to give you an ssl cert for the domain with www
Amjad
AmjadOP2y ago
I just want if anybody types www it will redirect to ssdo.org.pk, is it possible?
Brody
Brody2y ago
yes, that has nothing to do with railway though bluehost doesnt provide ssl certs to subdomain redirects so youll need to figure that situation out with bluehost
Amjad
AmjadOP2y ago
OK thank you @Brody my domain is not subdomain, its a primary domain @Brody Bluehost told me that "I have checked the A record is not pointing to Bluehost which is pointing to 104.196.232.237 but your hosting account IP address is 162.214.227.236 . So you have to install the SSL certificate from there end. where your website IP address is pointing."
Brody
Brody2y ago
www is a subdomain
Amjad
AmjadOP2y ago
www.ssdo.org.pk is not subdomain its primary domain not subdomain
Brody
Brody2y ago
the www part is a subdomain you have set the cname for "www.ssdo.org.pk" as "ssdofront-production.up.railway.app" without adding "www.ssdo.org.pk" to the railway domains list, once you do this, "www.ssdo.org.pk" will have a cert, but will not redirect, to redirect you will need to figure that out with bluehost since you have that root domain with them and for that "www.ssdo.org.pk" must not be in the railway domain list
Amjad
AmjadOP2y ago
@Brody this is the screenshot of bluehost dashboard and dns records, Is there any misconfiguration I did? @Brody should I enter @ instead of www in cname or in A record should I enter www.ssdo.org.pk instead of @, please guide me, Railway provided me with the name "ssdo" and domain "ssdo-production.up.railway.app"
Brody
Brody2y ago
Please don't directly ping any conductors / team, final warning
Brody
Brody2y ago
Bluehost
YouTube
How to redirect your Domain Name.
This video shows you how to set up a redirect for your domain. This is all done inside the Bluehost control panel. Thanks for watching! We welcome all constructive feedback and comments.
Amjad
AmjadOP2y ago
Thank you
Brody
Brody2y ago
theres still a chance bluehost wont give that www subdomain a ssl cert, in that case you might just wanna move to cloudflare, bluehost is mid ngl
Amjad
AmjadOP2y ago
yes its doing the same,cloudflare is free?
Brody
Brody2y ago
should be for what youre doing, dont quote me on that though
Amjad
AmjadOP2y ago
Ok thank you
Brody
Brody2y ago
just transfer your domain to cloudflare
Amjad
AmjadOP2y ago
OK thanks I have transfer my domain to cloudflare but still facing the issue whenever I type "www" before the root domain ssdo.org.pk it shows not found message with black screen ?
Brody
Brody2y ago
show me a screenshot of the cloudflare dns records page?
Amjad
AmjadOP2y ago
Brody
Brody2y ago
your root domain need to be a cname
Amjad
AmjadOP2y ago
you mean I have to enter @ instead of www or sth else?
Brody
Brody2y ago
for ssdo.org.pk you have an ip set, it neeeds to be a cname
Amjad
AmjadOP2y ago
you mean I have to enter another cname with name "ssdo.org.pk" and content 104.196.232.237, please mention how to do this , I am totally new to this cname ,A record etc, thanks
Brody
Brody2y ago
you should not be using ip addresses of your railway apps at all
Amjad
AmjadOP2y ago
In front of A record I have used IP ADDRESS Of Railway i.e 104.196..... you can see that
Brody
Brody2y ago
you should not be using ip addresses of your railway apps at all
Amjad
AmjadOP2y ago
I am using IP ADDRESS OF railway infront of A record as clear from the above file
Brody
Brody2y ago
dont do that, as ive said twice use a cname
Brody
Brody2y ago
Amjad
AmjadOP2y ago
should i delete the A record?
Brody
Brody2y ago
yes
Amjad
AmjadOP2y ago
with railwy ip address in front Thanks
Brody
Brody2y ago
show me new screenshot now please
Amjad
AmjadOP2y ago
OK
Amjad
AmjadOP2y ago
Amjad
AmjadOP2y ago
is it ok now?
Brody
Brody2y ago
looks fine, show me a screenshot of the railway domains
Amjad
AmjadOP2y ago
Brody
Brody2y ago
lol activate windows
Amjad
AmjadOP2y ago
But now if i visit www.ssdo.org.pk it shows following error
Brody
Brody2y ago
add www.ssdo.org.pk to that
Amjad
AmjadOP2y ago
Brody
Brody2y ago
^
Amjad
AmjadOP2y ago
you mean on railway I have to add www infront of ssdo.org.pk?
Brody
Brody2y ago
yes once done, show screenshot
Amjad
AmjadOP2y ago
for this first I have to remove ssdo.org.pk because on railway edit option is not there? and what happend to the live site? is it again go for propogation
Brody
Brody2y ago
you just needed to click + custom domain
Amjad
AmjadOP2y ago
OK
Amjad
AmjadOP2y ago
Brody
Brody2y ago
yes good
Amjad
AmjadOP2y ago
Brody
Brody2y ago
nope dont mess with that, you where good in your previous screenshot now add a new dns entry in cloudflare type: CNAME name: www.ssdo target: ssdofront-production.up.railway.app
Amjad
AmjadOP2y ago
OK thanks
Brody
Brody2y ago
updated my text, its name: www.ssdo
Amjad
AmjadOP2y ago
Brody
Brody2y ago
whats that little triangle boy say
alex
alex2y ago
cloudflare doesn't support 4L subs you can do 4.3.2.tld i think why do you need www.ssdo anyways
Amjad
AmjadOP2y ago
this hostname is not covered by the certificate
Brody
Brody2y ago
alex speak english
alex
alex2y ago
yeah sorry cloudflare doesn't allow you to do sub.sub.domain.tld
Amjad
AmjadOP2y ago
yes
alex
alex2y ago
you can't have that because their SSL cert won't cover it
Amjad
AmjadOP2y ago
yes
alex
alex2y ago
my proposed solution is don't do it
alex
alex2y ago
Stack Overflow
How Do I Create Sub-Sub-Domain on Cloudflare DNS?
I've let cloudflare manage the DNS of my example.com I have created id.example.com for country's specific customer. I've done it by created cname id with alias example.com I need to create customer
alex
alex2y ago
otherwise you got these gamers but you've gotta issue your own SSL certs and disable proxy because you can't have *.*.domain.tld as the scope of an SSL cert
Amjad
AmjadOP2y ago
basically here i pakistan every body while entering the url first enter www
alex
alex2y ago
its against the rules brahj are you hosting on your own server?
Brody
Brody2y ago
alex said no
alex
alex2y ago
can you put your own cert
nebula
nebula2y ago
oh its one of those funky double tlds
alex
alex2y ago
yeah
nebula
nebula2y ago
glgl
alex
alex2y ago
FFFF
nebula
nebula2y ago
you can disable proxying and let railway issue the cert
alex
alex2y ago
tyeaH I meantioned that railway will autoissue for the CNAME
Brody
Brody2y ago
i think in about 4 more hours i could have solved it
alex
alex2y ago
and then cloudflare will just cname to it
nebula
nebula2y ago
brody 😭
alex
alex2y ago
ig that might work
nebula
nebula2y ago
im sorry but dont spend 4 hours on a help thread
Brody
Brody2y ago
am bored
nebula
nebula2y ago
i will give you stuff to do sec
alex
alex2y ago
@Amjad point www.ssdo.org.pk to the same cname that railway tells you to disable the cloudflare proxy then railway will handle the rest
Brody
Brody2y ago
bet
Amjad
AmjadOP2y ago
OK you mean I disable all cloudflare account and change my nameserver again to bluehost?
Brody
Brody2y ago
no 🙂
root
root2y ago
No! Just disable Cloudflare's proxy in front of your website.
Amjad
AmjadOP2y ago
OK change it to DNS ONLY MODE
root
root2y ago
Yes
Amjad
AmjadOP2y ago
Big thanks for this help
Brody
Brody2y ago
flip orange switch
Amjad
AmjadOP2y ago
flipped
Brody
Brody2y ago
screenshot?
nebula
nebula2y ago
skull
Amjad
AmjadOP2y ago
root
root2y ago
looks good, does it work?
Brody
Brody2y ago
alex
alex2y ago
F
root
root2y ago
Maybe it's just taking a bit to propagate?
alex
alex2y ago
doubt cloudflare is instant I'm using 1.1.1.1 as well so i should get it before everyone else
Brody
Brody2y ago
i like your banner
nebula
nebula2y ago
software enginer
alex
alex2y ago
ik i chose my favourite male streamer
Brody
Brody2y ago
t3 sub or what?
alex
alex2y ago
skull
nebula
nebula2y ago
skull
alex
alex2y ago
i wish i had that ConfusedGirl you can't do this to me
Brody
Brody2y ago
neb sugar dad
alex
alex2y ago
skull
root
root2y ago
questionable mark
alex
alex2y ago
this is what #✋|help is for, everybody
root
root2y ago
👆
Brody
Brody2y ago
eh its a monday, we get a lil silly on mondays
alex
alex2y ago
i thought sillyness was reserved for friday nights
root
root2y ago
mildly silly
alex
alex2y ago
mild sillyness? i love how this thread is eating the time of 2 conductors and a support Packed
Brody
Brody2y ago
bro im just chilling watching ironmouse
alex
alex2y ago
im studying calc i hate my life
Brody
Brody2y ago
ha nerd i bet you know the square root of pi you nerd
alex
alex2y ago
1.774^2 actualy it'd be more like 1.7735 but whatever
Brody
Brody2y ago
imagine knowing stuff, couldn't be me
alex
alex2y ago
real
nebula
nebula2y ago
real!
Brody
Brody2y ago
so uh why wont this persons www work
alex
alex2y ago
idk
alex
alex2y ago
nope
nebula
nebula2y ago
idk why not just page rule www -> @
alex
alex2y ago
oh wait this is a real?
alex
alex2y ago
same shit rip
Brody
Brody2y ago
is the root domain ssdo.org.pk ?
nebula
nebula2y ago
i think so
Brody
Brody2y ago
so shoulnt name just be www
Amjad
AmjadOP2y ago
yes root domian is ssdo.org.pk
Brody
Brody2y ago
www.ssdo.ssdo.org.pk i was right initially ffs
nebula
nebula2y ago
anguish
Brody
Brody2y ago
railway messed up the parsing made me doubt myself
nebula
nebula2y ago
wacky domain tbh
alex
alex2y ago
??? why is the root ssdo.org.pk
Brody
Brody2y ago
org.pk is the tld
nebula
nebula2y ago
funky tld remember like co.uk
Brody
Brody2y ago
@Amjad change name from www.ssdo to just www
alex
alex2y ago
oh my god bruh
Amjad
AmjadOP2y ago
ssdo is the name of the NGO
alex
alex2y ago
so is "www" just the first level subd?
nebula
nebula2y ago
yes
Brody
Brody2y ago
who do we report the incorrect domain parsing in the ui to?
Amjad
AmjadOP2y ago
YOU mean I enable the proxy again and change the name to just www
alex
alex2y ago
no proxy cringe double domain
nebula
nebula2y ago
👋 skull
Brody
Brody2y ago
double tld* okay, fix it
alex
alex2y ago
cringe not a nebula problem thats an everyone else at railway skull
nebula
nebula2y ago
nebula will make it someone elses problem
alex
alex2y ago
real!
Brody
Brody2y ago
real my first abuse of power
alex
alex2y ago
benny
Brody
Brody2y ago
i keep staring at your banner
alex
alex2y ago
skull
Brody
Brody2y ago
pretty
alex
alex2y ago
ikr he hot NoCap
Brody
Brody2y ago
he gets flustered easily too
alex
alex2y ago
i would start f1nnposting but this is not the place for that skull dm
nebula
nebula2y ago
what is going on in here 😠
root
root2y ago
that's what I was wondering
alex
alex2y ago
trol
root
root2y ago
this is what #🎤|chit-chat is for folks
nebula
nebula2y ago
no. this is not what #🎤|chit-chat is for. this is what <#979976981850497077> is for.
root
root2y ago
wait what channel
nebula
nebula2y ago
<#979976981850497077> never heard of it?
Brody
Brody2y ago
bring back pretty boy channel neb
root
root2y ago
oh right, #deleted-channel I remember that now yeah, that's where this should really be
Brody
Brody2y ago
this thread second best option
alex
alex2y ago
i forgor that i can link to <#979976981850497077> from other servers
alex
alex2y ago
very cool, discord
Brody
Brody2y ago
????
alex
alex2y ago
<#979976981850497077>? never heard of it? you missing out on 100k silly and funny messages
Brody
Brody2y ago
big sad
alex
alex2y ago
real
alex
alex2y ago
big sad
nebula
nebula2y ago
19min mp3
jackson
jackson2y ago
ahem
alex
alex2y ago
STOP STOP STOP STOP please do not
nebula
nebula2y ago
🤨
jackson
jackson2y ago
blud what is ur banner
nebula
nebula2y ago
LOL
alex
alex2y ago
i can't send the whole thing in here its against railway's discord rules
nebula
nebula2y ago
oh dear
alex
alex2y ago
deer? 🦌
nebula
nebula2y ago
plan as present be head last follow govern she world
root
root2y ago
eh?
nebula
nebula2y ago
because follow need call think way on long that play
alex
alex2y ago
wait railway has mesage deleted oof
Amjad
AmjadOP2y ago
Any good news regarding the issue?
Brody
Brody2y ago
change name from www.ssdo to just www
Amjad
AmjadOP2y ago
Any change needed for cloudflare
Brody
Brody2y ago
^
Amjad
AmjadOP2y ago
or if anybody types ssdo.org.pk without using www then what will happen?
Brody
Brody2y ago
it would work fine
Amjad
AmjadOP2y ago
what about cloudflare? any change needed, sorry I cannot understand ^?
Brody
Brody2y ago
change name from www.ssdo to just www in cloudflare
Amjad
AmjadOP2y ago
OK big thanks, thank you very much
Want results from more Discord servers?
Add your server