How do I set up a domain with subdomains using a cloudflare domain name and DNS?

I'm trying to set up a way to access multiple web pages hosted on my server using ports 80 and 8080. I would like each of these to have their own domain (eg example.{domainname} directs to {domainname}:8080 and {domainname} directs to {domainname}:80 or just domain name since it should already go to port 80. How would one go about doing this?
3 Replies
Idle
Idle4w ago
cf will try 80 and 443 by default as for 8080 just use a origin rule should work on every plan, if you're doing http that is
SpicySoap
SpicySoapOP4w ago
So if I wanted to access request.example.net as port 8080 how would I format this section of the rule? Sorry, I'm not a regular user of cloudflare stuff, pretty new to it all
No description
Idle
Idle4w ago
use host in this case

Did you find this page helpful?