Creating multi-domain hosting with non-static ip

Related to

Cloudflare Tunnel

What is the issue you’re encountering

Greetings, I am trying to create hosting by using a tunnel with a non-static ip, I have successfully done this process by connecting a domain alone, but when adding the 2nd domain, unfortunately, the domain is not routed in any way, it does not allow me to enter the ip address of the tunnel or the given values in the a and cname records. Is it possible to add the 2nd domain as I mentioned? Thanks in advance.

What steps have you taken to resolve the issue?

I tried to assign the tunnel ips to a and cname.

Hi there,

You need to add it directly in the tunnel, not in the DNS tab of your dashboard.
When adding it in your tunnel, a CNAME will automatically be created.

Please go to Zero Trust > Networks > Tunnels > Click your tunnel and press Edit, go to Public hostnames and press + Add a public hostname.

Take care.