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. www. was not working even after pointing the CNAME to Ghost so I created a redirect in Cloudron

www. was not working even after pointing the CNAME to Ghost so I created a redirect in Cloudron

Scheduled Pinned Locked Moved Solved Support
redirect
4 Posts 2 Posters 698 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.
    • F Offline
      F Offline
      Felix
      App Dev
      wrote on last edited by girish
      #1

      Hello Clouron community,

      I did the following just recently:

      413552bd-5679-4cc6-84e4-99ba1d6b1966-image.png

      By doing this, I can now access the www.mydomain.com for my Ghost blog. But, by any chance do you think I'm doing anything incorrectly by approaching it this way? I tried changing the CNAME on Digital Ocean and it wasn't working that way.

      Now if I go to www.mydomain.com (example) the site shows up. It should be fine moving forward, right?

      Sorry this might sound confusing, but the https:// version of the domain has always worked. It's just the www. version that wasn't, though that seems to be fixed, but I wonder what caused this issue?

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

        This is the correct way to do it. Cloudron in that case will setup the DNS records and also places a redirect to the main location. This is because all apps in Cloudron can only run on a single location, since many of them need one origin for internal use (like sending out emails with backlinks)

        F 1 Reply Last reply
        1
        • nebulonN nebulon

          This is the correct way to do it. Cloudron in that case will setup the DNS records and also places a redirect to the main location. This is because all apps in Cloudron can only run on a single location, since many of them need one origin for internal use (like sending out emails with backlinks)

          F Offline
          F Offline
          Felix
          App Dev
          wrote on last edited by Felix
          #3

          @nebulon Thank you. So I removed the www. cname record from Digital Ocean and added a www redirect on Cloudron.

          I'm also hoping that I didn't break anything by messing around with all the options and turning things off and on continuously. It should be fine right?

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

            Yes that should work.

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