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. Best way to redirect users from root domain to non-Cloudron sub-domain?

Best way to redirect users from root domain to non-Cloudron sub-domain?

Scheduled Pinned Locked Moved Discuss
redirect
4 Posts 3 Posters 533 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.
  • Y Offline
    Y Offline
    YurkshireLad
    wrote on last edited by girish
    #1

    I have Cloudron installed at my.mydomain.com (for example) and I also have a site at social.mydomain.com. I don't have anything at mydomain.com, but I'd like any visitors to the root to be forwarded to social.mydomain.com. What's the best way to implement this?

    1 Reply Last reply
    0
    • subvenS Offline
      subvenS Offline
      subven
      wrote on last edited by subven
      #2
      1. Go to Cloudron Dashboard
      2. Click the gear wheel at social.mydomain.com
      3. In the App settings go to location and "Add a Domain"
      4. Select mydomain.com and confirm ^^

      2020-06-05 21_35_44-mjut_club.png

      1 Reply Last reply
      3
      • Y Offline
        Y Offline
        YurkshireLad
        wrote on last edited by
        #3

        I already have mydomain.com listed as a domain. I guess because of how I installed Cloudron.

        I have a non-Cloudron site installed at social.mydomain.com. Sorry, that part of my post may have been confusing or ambiguous.

        JOduMonTJ 1 Reply Last reply
        0
        • Y YurkshireLad

          I already have mydomain.com listed as a domain. I guess because of how I installed Cloudron.

          I have a non-Cloudron site installed at social.mydomain.com. Sorry, that part of my post may have been confusing or ambiguous.

          JOduMonTJ Offline
          JOduMonTJ Offline
          JOduMonT
          wrote on last edited by JOduMonT
          #4

          @YurkshireLad said in Best way to redirect users from root domain to non-Cloudron sub-domain?:

          I have a non-Cloudron site installed at social.mydomain.com. Sorry, that part of my post may have been confusing or ambiguous.

          Personally I simply go directly at your DNS manager (Namecheap, Cloudflare, GoDaddy, ...) than add the entry manually, such as you would do without Cloudron.

          It also confused me a few weeks ago but at the end Cloudron only add and manage entries it need such as:

          • A for my.
          • MX for mail (if you active them and decide to receive email)
          • TTX for DMARC, DKIM and SPF

          in your case you will have to add something like

          • Entry Type: A
          • Name: @
          • Content: TheIPofYour "social.mydomain.com"
          • TTL: Auto

          since we are all graphic bug, here a sample of my zone at Cloudron

          the one in red are the one I added manually.
          d379b010-4b43-42ef-a241-eb03921d4ecd-image.png

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