Beginner need help pointing a domain to a ip address with port

my website is hosted on this ip 2.56.246.53:30009 i want my domain to point on this ip with domain
20 Replies
Gabe
GabeOP11mo ago
alright thx
Erisa
Erisa11mo ago
You can create an origin rule to remap the port https://developers.cloudflare.com/rules/origin-rules/
Origin Rules · Cloudflare Rules docs
Origin Rules allow you to customize where the incoming traffic will go and with which parameters. Currently you can perform the following overrides:
Gabe
GabeOP11mo ago
so im using verify.chonkgen.com:30009 cus of port but i can only access it thru my phone its not opening on my pc for some reason although working fine for my phone
Erisa
Erisa11mo ago
Probably dns cache
Gabe
GabeOP11mo ago
how do clear that? ah its working for my mates aswell :/ so i can do this to forward my port from 30009 to 43 right? and which field? for port
Erisa
Erisa11mo ago
Use "Hostname equals verify.chonkgen.com" and then set the port in the section underneath
Gabe
GabeOP11mo ago
added rewrite as 30009
Erisa
Erisa11mo ago
yes you need to put 30009 in the rewrite box
Gabe
GabeOP11mo ago
It will redirect verify.chonkgen.com to verify.chonkgen.com:30009 right?
Erisa
Erisa11mo ago
Yes
Gabe
GabeOP11mo ago
Doesn't seem to be working
Cyb3r-Jak3
Cyb3r-Jak311mo ago
Your site doesn't appear to be using Cloudflare. The DNS record needs to be cloudflare in order to have the rule take effect.
Gabe
GabeOP11mo ago
it is using cloudflare
Cyb3r-Jak3
Cyb3r-Jak311mo ago
The DNS record isn't https://dnschecker.org/#A/verify.chonkgen.com not a Cloudflare IP
DNS Checker
DNS Checker - DNS Check Propagation Tool
Check DNS Propagation worldwide. DNS Checker provides name server propagation check instantly. Changed nameservers so do a DNS lookup and check if DNS and nameservers have propagated.
Gabe
GabeOP11mo ago
@Cyb3r-Jok3 also
Cyb3r-Jak3
Cyb3r-Jak311mo ago
The DNS record needs to be proxied which is the orange cloud. Edit the record then change the proxy status
Gabe
GabeOP11mo ago
when i turn that orange cloud thing on the website stops working lol
Cyb3r-Jak3
Cyb3r-Jak311mo ago
Do you have HTTPS setup on the origin server? Cloudflare will use SSL to connect and if you are seeing a 521 error then typically means SSL isn't setup
Gabe
GabeOP11mo ago
no i dont ill setup ssl tomorrow already got the certificate though thanks btw and happy new year
Cyb3r-Jak3
Cyb3r-Jak311mo ago
Same to you!
Want results from more Discord servers?
Add your server