help getting a vps hosted site to cloudflare subdomain

help getting a vps hosted site to cloudflare subdomain
26 Replies
Idle
Idleā€¢6d ago
needs more info, where is the problem
brit
britOPā€¢6d ago
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
Idle
Idleā€¢6d ago
do you own the domain you can't use cf for a subdomain only
brit
britOPā€¢6d ago
yes, i also have my acutal domain hosted. i only gotta connect a subdomain.
Idle
Idleā€¢6d ago
then just add an A record for your subdomain :confusedpixeljoe:
brit
britOPā€¢6d ago
i have done that but it doesn't work...
Idle
Idleā€¢6d ago
. that's why I asked this where is the problem
brit
britOPā€¢6d ago
No description
Idle
Idleā€¢6d ago
this gives me absolutely nothing to work with
brit
britOPā€¢5d ago
@Idle heysy
brit
britOPā€¢5d ago
No description
brit
britOPā€¢5d ago
No description
1.1.1.1
1.1.1.1ā€¢5d ago
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 found
diggy diggy hole
Idle
Idleā€¢5d ago
how long ago did you create the record
brit
britOPā€¢5d ago
ick why
Idle
Idleā€¢5d ago
longer than 5 minutes ago...?
brit
britOPā€¢5d ago
yes @Idle @brit @Idle ??
1.1.1.1
1.1.1.1ā€¢5d ago
DNS over Discord: NS records
bloxyspin.com NS @1.1.1.1 +noall +answer
NAME | TTL | DATA
--------------+---------+---------------------
bloxyspin.com | 86,400s | ns2.dns-parking.com.
bloxyspin.com | 86,400s | ns1.dns-parking.com.
NAME | TTL | DATA
--------------+---------+---------------------
bloxyspin.com | 86,400s | ns2.dns-parking.com.
bloxyspin.com | 86,400s | ns1.dns-parking.com.
diggy diggy hole
Idle
Idleā€¢5d ago
those are not cloudflare nameservers :akarishrug:
brit
britOPā€¢5d ago
why are you so not kind help me out frfr
Idle
Idleā€¢5d ago
the solution is right here
brit
britOPā€¢5d ago
how can i do it on hostinger?
Idle
Idleā€¢5d ago
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
brit
britOPā€¢5d ago
bro help me out as a friend šŸ˜­ i only need to connect my hosted vps to my doamin domain
Ashkan
Ashkanā€¢5d ago
@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
brit
britOPā€¢3d ago
thanks, worked.

Did you find this page helpful?