Create a custom domain name
This tutorial will explain how to create a custom domain name that will be used in HTTP/TLS tunnels.
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:

Reserve a domain name using CLI
From Namecheap dashboard --> Domain List --> click on "Manage" button

Go to advanced DNS

Advanced DNS
Click "ADD NEW RECORD"

ADD NEW RECORD
From dropdown menu click on "CNAME Record"

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" 
Enter host and value
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

www.xtestgo.xyz