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. How can I setup a 302 or 301 redirect from a subdomain to an external site?

How can I setup a 302 or 301 redirect from a subdomain to an external site?

Scheduled Pinned Locked Moved Solved Support
301 redirect302 redirectredirectsubdomainexternal site
26 Posts 11 Posters 3.8k Views 10 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.
  • nebulonN nebulon

    @toxicdorito yes the alias features + htaccess rewrite using the LAMP app should solve this for you.

    The LAMP app also has multiDomain and thus alias support. Can you double check in the Location tab of the app configure screen in your Coudron dashboard?

    T Offline
    T Offline
    toxicdorito
    wrote on last edited by
    #21

    @nebulon f40b59ba-fcef-46fa-8cdd-c42a407a181a-image.png This is all that I see under LAMP, All of the LAMP packages do not show alias for some reason.

    1 Reply Last reply
    0
    • robiR robi

      This is also solvable with the Surfer App + aliases and some HTML+JS to redirect incoming subdomains to directory paths/pages.

      T Offline
      T Offline
      toxicdorito
      wrote on last edited by
      #22

      @robi And see, I've done this in the past. Same with running Kutt and simply making short links using the domains needed. However, I will need LAMP for my setup.

      nebulonN 1 Reply Last reply
      0
      • T toxicdorito

        @robi And see, I've done this in the past. Same with running Kutt and simply making short links using the domains needed. However, I will need LAMP for my setup.

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #23

        @toxicdorito oh actually I see, the alias feature will only be shown with the next release. I was looking at my developer instance which has current master branch version. So then it will be fixed with the next Cloudron version.

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

          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 -

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

            Sorry I actually looked into the wrong place, I happened to look at a previous LAMP app package which didn't have the multidomain flag set. @toxicdorito which LAMP app verison have you installed?

            1 Reply Last reply
            0
            • girishG girish

              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 -

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by jdaviescoates
              #26

              @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

              I use Cloudron with Gandi & Hetzner

              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