← Back to context

Comment by WinstonSmith84

21 hours ago

So I understand I can redirect my custom domain to Pico Pages, Pico Prose, etc. Can I however do the other way around? Can I create somehow a CNAME on my Pico.sh account (such as username-myapp.pgs.sh points to abc.xyz.com)? In essence, I'd like to be able to get a certificate and set a secure https connection to e.g. my Load Balancer my-alb-12345.us-east-1.elb.amazonaws.com or similar.

Yep! tuns would be the service you want since it can support forwarding arbitrary backends: https://pico.sh/tuns#custom-domains

  • Thanks. Let me know if I misunderstood, but it seems that this is redirecting my custom domain customdomain.example.com to tuns.sh

    customdomain.example.com. 300 IN CNAME tuns.sh.

    _sish.customdomain.example.com 300 IN TXT "SHA256:mVPw"

    What I want to do is:

    1- to create a custom domain ON tuns.sh (or another Pico service)

    2- redirect this custom domain to another DNS (such as a Load Balancer, an API Gateway, etc.)

    Something like: {username}-{proj}.tuns.sh. 300 IN CNAME myalb-123abc.amazonaws.com.