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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Let's Encrypt Wildcard issues

Let's Encrypt Wildcard issues

Scheduled Pinned Locked Moved Solved Support
letsencryptredirection
3 Posts 2 Posters 431 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U Offline
      U Offline
      ugacomp
      wrote on last edited by girish
      #1

      Hello!
      First of all I would like to thank the developers of Cloudron for doing a good job. I am using this platform to deploy a couple of websites for my client.

      But I have also noticed a certain issue with Let's Encrypt Wildcard and Domain configurations: And let me explain:

      When I deploy an app let's say WordPress with a domain like example.com, the final deployment with Let's Encrypt will be https://example.com. This works great! But again, when I try to access this very domain using www.example.com or https://www.example.com, I get an error and the site can't be accessed.

      I think that this issue is kind of problematic because some people choose to use www.example.com, https://example.com. example.com and https://www.example.com

      I request that the feature to allow all these kinds of setups for domains when the app is deployed should be considered.

      If there is already a way to do it, please advise me and I will really appreciate

      Thank you so much

      girishG 1 Reply Last reply
      1
      • U ugacomp

        Hello!
        First of all I would like to thank the developers of Cloudron for doing a good job. I am using this platform to deploy a couple of websites for my client.

        But I have also noticed a certain issue with Let's Encrypt Wildcard and Domain configurations: And let me explain:

        When I deploy an app let's say WordPress with a domain like example.com, the final deployment with Let's Encrypt will be https://example.com. This works great! But again, when I try to access this very domain using www.example.com or https://www.example.com, I get an error and the site can't be accessed.

        I think that this issue is kind of problematic because some people choose to use www.example.com, https://example.com. example.com and https://www.example.com

        I request that the feature to allow all these kinds of setups for domains when the app is deployed should be considered.

        If there is already a way to do it, please advise me and I will really appreciate

        Thank you so much

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #2

        @ugacomp said in Let's Encrypt Wildcard issues:

        When I deploy an app let's say WordPress with a domain like example.com, the final deployment with Let's Encrypt will be https://example.com. This works great! But again, when I try to access this very domain using www.example.com or https://www.example.com, I get an error and the site can't be accessed.

        From DNS point of view example.com and www.example.com, are two different locations i.e you can have two completely different sites in those two places (though, of course, nobody does this in real life).

        Anyway, the fix is just to add a "redirection" - https://docs.cloudron.io/apps/#redirections . Just put "www" redirection for your app and you are set.

        U 1 Reply Last reply
        0
        • girishG girish moved this topic from WordPress (Managed) on
        • girishG girish

          @ugacomp said in Let's Encrypt Wildcard issues:

          When I deploy an app let's say WordPress with a domain like example.com, the final deployment with Let's Encrypt will be https://example.com. This works great! But again, when I try to access this very domain using www.example.com or https://www.example.com, I get an error and the site can't be accessed.

          From DNS point of view example.com and www.example.com, are two different locations i.e you can have two completely different sites in those two places (though, of course, nobody does this in real life).

          Anyway, the fix is just to add a "redirection" - https://docs.cloudron.io/apps/#redirections . Just put "www" redirection for your app and you are set.

          U Offline
          U Offline
          ugacomp
          wrote on last edited by
          #3

          @girish This worked like a charm. And everything is working as I wanted
          And this script is going to change the web hosting industry. I think that it's one of the best scripts I've ever used in this industry. Thank you guys

          1 Reply Last reply
          0
          • nebulonN nebulon marked this topic as a question on
          • nebulonN nebulon has marked this topic as solved on
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search