tunnel

Hi i setup Cloudflare tunnel service and its working great, the questions is, my domain for example Josef.com in tunnel i should add example.josef.com is there a way to keep it josef.com? even if its paid service at less i want to know if there is a better way and thanks.
30 Replies
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Kind of confused on what you are asking but if you want your tunnel to handle connects to example.josef.com then it needs to have that in the public hostname
josef997
josef997OP16mo ago
so there is no way to remove the Subdomain ? i want to use the domain without Subdomain if there is a chance to use that in tunnel
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Oh yeah you can make the public hostname the apex domain
josef997
josef997OP16mo ago
how to do that ?
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Leave the subdomain part blank when adding a public hostname
josef997
josef997OP16mo ago
okay i will try it now and there is an issue happened i will take screen shot
Cyb3r-Jak3
Cyb3r-Jak316mo ago
If you already have a DNS record for you apex then you will need to remove it
josef997
josef997OP16mo ago
i dont have dns record for apex i just add the name servers for cloudflare yesterday and connected to tunnel Error getting DNS record for smart.josef-home.online:e225d32a-8b98-4c89-962d-2ec9f2297087.cfargotunnel.com when i kept it blank
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Are you creating one or editing one?
josef997
josef997OP16mo ago
i edit then i add when i add its works fine the only issue now remaining the routes stuck on subdomain home.josef-home.online showing like this https://josef-home.online/#/ the website working perfectly !
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Yeah there can be some weirdness when editing an existing because it wants to be the source of truth when changing DNS records
josef997
josef997OP16mo ago
yes i see that last thing remaining please for example this is for my smart home when i click on any appliction for example home assistance it move to this port http://josef-home.online:8123/ should i add it in tunnle to open it ? it wont open online
Cyb3r-Jak3
Cyb3r-Jak316mo ago
8123 is not a support proxy port by Cloudflare https://developers.cloudflare.com/fundamentals/reference/network-ports/. Your best bet would be to change it to a supported one
josef997
josef997OP16mo ago
i cant changed them becuase its related to app
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Then I would try a new public hostname that points to the port
josef997
josef997OP16mo ago
okay i will try now !
josef997
josef997OP16mo ago
No description
josef997
josef997OP16mo ago
like this ?
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Is this separate from the app on the apex? If so then you are going to want a subdomain
josef997
josef997OP16mo ago
so i should add subdomain
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Yeah in this case, as it is different from the apex application, then subdomain is going to be easiest.
josef997
josef997OP16mo ago
let me show u how i do connect the tunnel i will take screen show
josef997
josef997OP16mo ago
No description
josef997
josef997OP16mo ago
this is app was install in the appliction itself
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Oh
josef997
josef997OP16mo ago
copy paste the token inside
Cyb3r-Jak3
Cyb3r-Jak316mo ago
I would reach out the developers of the application to see what they suggest in this case
josef997
josef997OP16mo ago
okayi will wait for your kind reply
Cyb3r-Jak3
Cyb3r-Jak316mo ago
Sorry you should reach out to them. I don't know enough about the application or its use case
josef997
josef997OP16mo ago
okay got it ! i will check with them again thanks for your help!
Want results from more Discord servers?
Add your server