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. Discuss
  3. Redirecting www to naked domain

Redirecting www to naked domain

Scheduled Pinned Locked Moved Solved Discuss
4 Posts 3 Posters 942 Views 3 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.
    • S Offline
      S Offline
      stormgrass
      wrote on last edited by
      #1

      Hello! I've discussed this before in the chat, and would just like to start a discussion around that topic again. I'm currently using Cloudron to run a few websites on different domains. In order to make www.example.com work for websites that run at example.com, I've set up LAMP apps for each of those, then have a redirect inside those redirecting to the naked domain. This is currently the only workaround to not get an SSL warning when accessing the www.example.com address.

      My plan is the basic one, and from the pricing table I see that it's capped at 20 apps. I'm currently still under 20, but I'm guessing that sooner or later I might go over 20, at which time I need to think about how to deal with the fact that I'm basically running an additional app for every extra domain I've attached to my Cloudron.

      Now, what are the chances that at some point, when setting up an app, we will have the ability to simply add a subdomain like www to redirect to the actual naked domain, without having to work around this by setting up a separate LAMP app? That would make both the setup easier and lower the number of used apps on the Cloudron.

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @stormgrass Thanks for bringing this up. The plan is to implement the redirect feature very soon (https://git.cloudron.io/cloudron/box/issues/133 is the issue). The LAMP/Surfer app redirection is a temporary workaround till we implement the feature. Currently, the LAMP app and surfer app are already not counted towards the app count for this very reason.

        1 Reply Last reply
        2
        • S Offline
          S Offline
          stormgrass
          wrote on last edited by
          #3

          @girish Thanks a lot for your reply. I wasn't aware that the LAMP/Surfer apps don't count towards the total app count. That's great news!

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            This feature is now merged to master and will be part of the next release. There is still some amount of testing needed.

            If someone has an opinion on which http status code we should be using, please respond here. Currently I have put a 301, but I am not yet sure if this is dynamic enough for our use-case.

            1 Reply Last reply
            0
            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