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
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 hostnameso 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
Oh yeah you can make the public hostname the apex domain
how to do that ?
Leave the subdomain part blank when adding a public hostname
okay i will try it now and there is an issue happened i will take screen shot
If you already have a DNS record for you apex then you will need to remove it
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
Are you creating one or editing one?
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 !
Yeah there can be some weirdness when editing an existing because it wants to be the source of truth when changing DNS records
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
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 onei cant changed them becuase its related to app
Then I would try a new public hostname that points to the port
okay i will try now !
like this ?
Is this separate from the app on the apex?
If so then you are going to want a subdomain
so i should add subdomain
Yeah in this case, as it is different from the apex application, then subdomain is going to be easiest.
let me show u how i do connect the tunnel i will take screen show
this is app was install in the appliction itself
Oh
copy paste the token inside
I would reach out the developers of the application to see what they suggest in this case
okayi will wait for your kind reply
Sorry you should reach out to them. I don't know enough about the application or its use case
okay got it !
i will check with them again
thanks for your help!