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. Redirect IP Address To My Cloudron Subdomain

Redirect IP Address To My Cloudron Subdomain

Scheduled Pinned Locked Moved Solved Support
custom pages
8 Posts 3 Posters 283 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.
  • I Offline
    I Offline
    IniBudi
    wrote on last edited by joseph
    #1

    After migrated to new server, I just accessed the IP address and I found a message like this :

    You cannot view Cloudron dashboard by IP address. Instead, navigate to the domain you configured during setup i.e https://my.domain.example .
    If you do not remember your domain, SSH into your server and run cloudron-support --owner-login .
    

    Is it possible to redirect when someone want to access the IP Address of server and he will redirect to https://my.domain.example, instead of see the message above?

    Thank you.

    J 1 Reply Last reply
    1
    • I IniBudi

      After migrated to new server, I just accessed the IP address and I found a message like this :

      You cannot view Cloudron dashboard by IP address. Instead, navigate to the domain you configured during setup i.e https://my.domain.example .
      If you do not remember your domain, SSH into your server and run cloudron-support --owner-login .
      

      Is it possible to redirect when someone want to access the IP Address of server and he will redirect to https://my.domain.example, instead of see the message above?

      Thank you.

      J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      @IniBudi many (most?) don't want to leak their IP address. This is the reason that it doesn't automatically redirect to the domain.

      Given that everything is vhost based, you should only ever access by domain name and never by IP. The page is simply there as a warning . nothing else.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #3

        Forgot to mention, if you really want to redirect, you can use https://docs.cloudron.io/branding/#custom-pages . Put a custom notfound.html that redirects to your domain, but I would not recommend this for aforementioned reason.

        I 1 Reply Last reply
        1
        • J joseph marked this topic as a question on
        • J joseph has marked this topic as solved on
        • J joseph

          Forgot to mention, if you really want to redirect, you can use https://docs.cloudron.io/branding/#custom-pages . Put a custom notfound.html that redirects to your domain, but I would not recommend this for aforementioned reason.

          I Offline
          I Offline
          IniBudi
          wrote on last edited by
          #4

          @joseph I try to create a new folder (/custom_pages) using SFTP but it show that permission is denied.

          I just saw this folder path

          /home/yellowtent/boxdata/
          

          Should I create new folder for /custom_pages/ ?

          J 1 Reply Last reply
          0
          • I IniBudi

            @joseph I try to create a new folder (/custom_pages) using SFTP but it show that permission is denied.

            I just saw this folder path

            /home/yellowtent/boxdata/
            

            Should I create new folder for /custom_pages/ ?

            J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #5

            @IniBudi yes, you have to create the folder as user yellowtent. Don't think you can use SFTP since it's not enabled in Cloudron level.

            I 1 Reply Last reply
            1
            • J joseph

              @IniBudi yes, you have to create the folder as user yellowtent. Don't think you can use SFTP since it's not enabled in Cloudron level.

              I Offline
              I Offline
              IniBudi
              wrote on last edited by
              #6

              @joseph I try this command

              su yellowtent
              

              But when I used password for the root, it failed. How to know the password of yellowtent user?

              1 Reply Last reply
              0
              • nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote on last edited by nebulon
                #7

                you can create the folder as any user and then run sudo chown yellowtent -R <folder>

                1 Reply Last reply
                1
                • I Offline
                  I Offline
                  IniBudi
                  wrote on last edited by
                  #8

                  Thank you the problem is solved. 🙂

                  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