Go to Cloudflare and setup account
Go to homepage and click on add domain name
I recommend using Quick scan for DNS records option
Select free plan
Make sure DNSSEC is off
In namecheap pls open custom DNS by add isabel.ns.cloudflare.com && scott.ns.cloudflare.com
Here is result is successfully verify ownership noticed: waiting up to 1 hours, but no worry based on my experience is around a few second.
Go to zero trust in cloudflare
Go to Networks
Create Tunnels
Select Cloudflare
Name your tunnel
select your environment and os architecture
copy script below based on your situation, but if you never set up cloudflare before I recommend first script
Done your home server is connected to cloudflare, but if you want to make sure check its status is healthy or not
Go to Tunnels again and if you see Healthy it’s work, but if you see Inactive it not succeed you need to configure again
Go to tunnels again
Click on Configure
Go to Public Hostname
Add public Hostname
Noted: for service type please select http not https, it’s your local host and localhost don’t input as string, please use 127.0.0.1 instead of localhost
Done