help getting a vps hosted site to cloudflare subdomain
help getting a vps hosted site to cloudflare subdomain
26 Replies
needs more info, where is the problem
hey, i'm hosting my api on hostinger.
vps hosting Ubuntu 24.04.1 LTS
how do i connect it with my domain (subdomain)?
i have the ipv4 to my hosted api
do you own the domain
you can't use cf for a subdomain only
yes, i also have my acutal domain hosted.
i only gotta connect a subdomain.
then just add an A record for your subdomain
:confusedpixeljoe:
i have done that but it doesn't work...
.
that's why I asked this
where is the problem
this gives me absolutely nothing to work with
@Idle
heysy
DNS over Discord: A records
api.bloxyspin.com A @1.1.1.2 +noall +answer
A non-existent domain [3 - NXDomain] was requested and could not be founddiggy diggy hole
how long ago did you create the record
ick why
longer than 5 minutes ago...?
yes
@Idle
@brit
@Idle
??
DNS over Discord: NS records
bloxyspin.com NS @1.1.1.1 +noall +answer
diggy diggy hole
those are not cloudflare nameservers
:akarishrug:
why are you so not kind
help me out
frfr
the solution is right here
how can i do it on hostinger?
you change your domain's nameservers to the hostinger ones
which they already seem to be
and then use the hostinger dns? idk?
this is a discord for cloudflare, if you need help with hostinger maybe reach out to their support team
bro
help me out
as a friend
š
i only need to connect my hosted vps to my doamin
domain
@brit that's easy you need to route request from CF subdomain to your origin server
@brit consider you have a subdomain called CF(cloudflare) client sends request to CF.mydomain.com -> route request to origin server (hostinger.mydomain.com). it's kinda proxying requests
thanks, worked.