Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • 0 Votes
    4 Posts
    66 Views
    D

    Hi @girish, hi @nebulon. Many thanks for perfect explanation, hope to have got that. Have now configured as explained above and apex domain does now also produces perfectly valid cert signed by LE. 👍🏼

    Many thanks also for impressingly quick response during weekend - appreciated. 😊

  • 0 Votes
    12 Posts
    294 Views
    girishG

    @prusaman I have it on my list to test installation against a private zone. Let me get back once I make the changes.

  • 0 Votes
    11 Posts
    667 Views
    girishG

    @omen OK, I figured out how configure Fastly now...
    Please configure it like below:

    Enable TLS - Yes Verify Certificate - Yes Certificate hostname - In my case, it is wildcard. But since you use the 'manual' provider, the hostname is subdomain.example.com. SNI hostname - this is subdomain.example.com.

    With the above settings, fastly serves up pages fine on http.

    c787fbfb-57bb-4793-a100-3da1015ba6a5-image.png

    One thing to remember is, because you are using "manual" DNS provider, Cloudron requires "http" callbacks for Let's Encrypt to work. I am not sure how this works in fastly, does it allow you to have some URLs that are not "cached" ? I guess one way is to call the Cloudron app subdomain as "website.domain.com" but the domain in fastly should be something else like "realwebsite.domain.com" (meaning, name it different). This way, manual setting on Cloudron can continue to use HTTP reliably to get certificates.

    If you want the domain names to be same, you have to use one of the automated DNS providers in Cloudron.

  • 0 Votes
    26 Posts
    2k Views
    jdaviescoatesJ

    @girish said in How can I setup a 302 or 301 redirect from a subdomain to an external site?:

    I am probably missing something. Support for multi domain/aliases is already in Cloudron 7.

    36396f8d-fc12-4a8c-a545-d0b4269895b8-image.png

    @toxicdorito What is the version of your Cloudron ? The latest lamp package already has support for aliases -

    What if we want to create an alias or redirect for our dashboard domain?

    I want https://my.ud.coop to redirect to https://my.uniteddiversity.coop, see https://forum.cloudron.io/post/44785