#Unable to Create Spectrum App with domain target
42 messages · Page 1 of 1 (latest)
I created the app via the API. Give me a minute to turn on my pc.
What I can tell you, the target needs to be a hostname, not a URL.
yes
without the https:// and the trailing /
you can point it to api.supabase.co
You still point it towards an API address. But instead of entering the IP directly, Cloudflare will regularly check the IP for api.supabase.co and update it automatically.
That depends on what type of application you're trying to create^^
I haven't tried that, but I don't think that would work. The name needs to resolve to the server IP.
But that doesn't make sense - why are you trying to create a Spectrum app to an external API?
But it's already proxied?
Spectrum is for arbitrary TCP/UDP. For HTTPS, you just use the normal Cloudflare proxy?
But you're still talking about http/https?
I'm not sure what exactly you want
Spectrum is like the https proxy, except that it allows you to use TCP/UDP applications
IMAP for example, so you can proxy your mail server.
i thought spectrum support http, https or other protocols as well, not only tcp/udp
It does, but I don't really understand WHY you're trying to use Spectrum for HTTP(S) from your explanation so far.
Are you an Enterprise customer? Because those are all Enterprise only features.
So, your vendor has an API api.supabase.co and you want to use that API for your customers, but give your customers a different name, like api.yourcompany.example?
I very much doubt it's using Spectrum.
It's using normal proxy IPs.
ok
I don't think Spectrum is the way to go. It really doesn't help you if the Origin isn't configured for the domain you intend to use with it.
Respond to the Worker request with the response from another website (example.com in this example).
That's an option, or if you are on Enterprise, you can use Origin rules with Host header rewrite
If you have a static IP, you can use that.
Yes, I don't think Spectrum is what you're looking for.
I think you just want to create Custom Hostnames (Cloudflare for SaaS) with your static IP and then use Host header overwrite.
But to clarify
Your company is A
You use an API from company B
say, api.company-b.com
do you want to create names like customer1.company-a.com, customer2.comapny-a.com etc?
or api.customer1.com?
Then you don't need CF for SaaS
just create proxied CNAME records and use Origin Rules for Host Header overwrite? Or the Worker I linked.
https://dash.cloudflare.com/?to=/:account/ip-addresses/proxy-ips
I think you should be able to use the IP there?
Do you see any IPs there?
cya