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. domain alias (not redirect)

domain alias (not redirect)

Scheduled Pinned Locked Moved Solved Support
domains
12 Posts 5 Posters 2.1k Views 6 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.
  • Z zedomingues

    due to the good performance configuration, I use cloudron in an instance on AWS (EC2) that shortens links in an mobile application.

    the software (url shorter) works at the following link> uclink.me

    however, the shortener also allows the possibility of using other domains. to do so, I need to configure the 'new domain' as an ALIAS.

    in the cloudron configuration panel I didn't think it was possible to add a domain alias.

    in summary: is it possible to add a domain alias in the CLOUDRON settings? (for the same system can work with both domains).

    tks

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

    @zedomingues said in domain alias (not redirect):

    due to the good performance configuration, I use cloudron in an instance on AWS (EC2) that shortens links in an mobile application.

    the software (url shorter) works at the following link> uclink.me

    however, the shortener also allows the possibility of using other domains. to do so, I need to configure the 'new domain' as an ALIAS.

    in the cloudron configuration panel I didn't think it was possible to add a domain alias.

    in summary: is it possible to add a domain alias in the CLOUDRON settings? (for the same system can work with both domains).

    tks

    Maybe I'm pointing you to the wrong way but at some DNS Manager such as Namecheap let you create ALIAS
    da815c09-123e-4236-a341-c2adfaa32e59-image.png

    Z 1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zedomingues
      wrote on last edited by
      #4

      Just to clarify: I need my server to accept connections from 2 different domains WITHOUT changing the URL.

      That is why I need to know if there is a way to add a DOMAIN ALIAS in cloudron settings, so my server will correctly interpret connection requests from both URLs (like this > https://www.buycpanel.com/difference-domain-alias-domain-redirect/)

      1 Reply Last reply
      0
      • JOduMonTJ JOduMonT

        @zedomingues said in domain alias (not redirect):

        due to the good performance configuration, I use cloudron in an instance on AWS (EC2) that shortens links in an mobile application.

        the software (url shorter) works at the following link> uclink.me

        however, the shortener also allows the possibility of using other domains. to do so, I need to configure the 'new domain' as an ALIAS.

        in the cloudron configuration panel I didn't think it was possible to add a domain alias.

        in summary: is it possible to add a domain alias in the CLOUDRON settings? (for the same system can work with both domains).

        tks

        Maybe I'm pointing you to the wrong way but at some DNS Manager such as Namecheap let you create ALIAS
        da815c09-123e-4236-a341-c2adfaa32e59-image.png

        Z Offline
        Z Offline
        zedomingues
        wrote on last edited by
        #5

        @JOduMonT I will try to find out more in the namecheap documentation. However, from what I've been researching, this configuration has to be done on the server - because the server has to interpret the request and know that that specific URL is configured there.

        For example: there is no way (just) pointing the IP to the server. We (also) must have configure the server to accept connections with that URL - otherwise it will inform famous "not found"

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

          @zedomingues You are right, a proper ALIAS requires both an entry in the DNS and also a reverse proxy configuration. The reverse proxy configuration has to be done inside Cloudron. This feature is currently not present (we only have redirects). My experience is that for the reverse proxy config to work, the app also needs to be aware of it (for example, they call it secure domains or have to be taught about multiple domains). Many apps like WP and Nextcloud, do support it but Cloudron doesn't support this. We can look into adding it based on interest. I think https://forum.cloudron.io/topic/2202/multi-domain-for-the-same-app-such-as-nextcloud is a similar request.

          Z mdreiraM 2 Replies Last reply
          2
          • girishG girish

            @zedomingues You are right, a proper ALIAS requires both an entry in the DNS and also a reverse proxy configuration. The reverse proxy configuration has to be done inside Cloudron. This feature is currently not present (we only have redirects). My experience is that for the reverse proxy config to work, the app also needs to be aware of it (for example, they call it secure domains or have to be taught about multiple domains). Many apps like WP and Nextcloud, do support it but Cloudron doesn't support this. We can look into adding it based on interest. I think https://forum.cloudron.io/topic/2202/multi-domain-for-the-same-app-such-as-nextcloud is a similar request.

            Z Offline
            Z Offline
            zedomingues
            wrote on last edited by
            #7

            it would be an excellent function, @girish

            unfortunately, I realized that I would not have this function (ALIAS DOMAIN) and I had to stop using cloudron.

            however, based on my experience, your application is excellent.

            tks

            W 1 Reply Last reply
            2
            • Z zedomingues

              it would be an excellent function, @girish

              unfortunately, I realized that I would not have this function (ALIAS DOMAIN) and I had to stop using cloudron.

              however, based on my experience, your application is excellent.

              tks

              W Offline
              W Offline
              will
              wrote on last edited by
              #8

              @zedomingues Have you considered other ways to achieve this goal?

              JOduMonTJ 1 Reply Last reply
              0
              • W will

                @zedomingues Have you considered other ways to achieve this goal?

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

                @will said in domain alias (not redirect):

                @zedomingues Have you considered other ways to achieve this goal?

                How would you do this ?
                Personally I would try to add a new nginx config in /etc/nginx/applications/ which contain

                server_name other.domain.tld
                proxy_pass http://127.0.0.1:35611;
                

                but the proxy_pass port seams to be non static.

                Another way, I would two time the apps and pointing them to the same data directory

                1 Reply Last reply
                0
                • girishG girish

                  @zedomingues You are right, a proper ALIAS requires both an entry in the DNS and also a reverse proxy configuration. The reverse proxy configuration has to be done inside Cloudron. This feature is currently not present (we only have redirects). My experience is that for the reverse proxy config to work, the app also needs to be aware of it (for example, they call it secure domains or have to be taught about multiple domains). Many apps like WP and Nextcloud, do support it but Cloudron doesn't support this. We can look into adding it based on interest. I think https://forum.cloudron.io/topic/2202/multi-domain-for-the-same-app-such-as-nextcloud is a similar request.

                  mdreiraM Offline
                  mdreiraM Offline
                  mdreira
                  translator
                  wrote on last edited by
                  #10

                  @girish I am very interested in this. Hope we can have domain aliases very soon.
                  Please!!! 🤞🏻

                  girishG 1 Reply Last reply
                  0
                  • mdreiraM mdreira

                    @girish I am very interested in this. Hope we can have domain aliases very soon.
                    Please!!! 🤞🏻

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

                    @mdreira which app do you need this for ? We already have this in Kutt - https://docs.cloudron.io/apps/kutt/#custom-domains

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

                      I created a new topic for reset of the conversation at https://forum.cloudron.io/topic/6191/wp-alias-domains

                      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