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
G
GOP13mo ago
alright thx
Erisa
Erisa13mo 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:
G
GOP13mo 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
Erisa13mo ago
Probably dns cache
G
GOP13mo 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
Erisa13mo ago
Use "Hostname equals verify.chonkgen.com" and then set the port in the section underneath
G
GOP13mo ago
added rewrite as 30009
Erisa
Erisa13mo ago
yes you need to put 30009 in the rewrite box
G
GOP13mo ago
It will redirect verify.chonkgen.com to verify.chonkgen.com:30009 right?
Erisa
Erisa13mo ago
Yes
G
GOP13mo ago
Doesn't seem to be working
Cyb3r-Jak3
Cyb3r-Jak313mo 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.
G
GOP13mo ago
it is using cloudflare
Cyb3r-Jak3
Cyb3r-Jak313mo 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.
G
GOP13mo ago
@Cyb3r-Jok3 also
Cyb3r-Jak3
Cyb3r-Jak313mo ago
The DNS record needs to be proxied which is the orange cloud. Edit the record then change the proxy status
G
GOP13mo ago
when i turn that orange cloud thing on the website stops working lol
Cyb3r-Jak3
Cyb3r-Jak313mo 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
G
GOP13mo ago
no i dont ill setup ssl tomorrow already got the certificate though thanks btw and happy new year
Cyb3r-Jak3
Cyb3r-Jak313mo ago
Same to you!

Did you find this page helpful?