First of all you should bought a domain name from domain registrars like (GoDaddy, DNSimple, Namecheap...etc), in this example Namecheap will be used to manage our domain name.
We already have a domain name
xtestgo.xyz from namecheap which will be used in this tutorial.
After you bought a domain name you can now reserve it on localxpose as follows:
From Namecheap dashboard --> Domain List --> click on "Manage" button
Go to advanced DNS
Click "ADD NEW RECORD"
From dropdown menu click on "CNAME Record"
Finally enter the host and value which you reserved from step 2, in our case the host is
www.xtestgo.xyz and the value is
8kplouxq3znu.cname.loclx.io and then click "Save Changes"
You can verify the cname record if it is added correctly from localxpose
loclx domain status --domain www.xtestgo.xyz
Finally you can use the reserved custom domain name in your tunnel
loclx tunnel http --reserved-domain www.xtestgo.xyz
Go to that custom domain name