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. Change Primary Domain an Dashboard via Terminal/CLI

Change Primary Domain an Dashboard via Terminal/CLI

Scheduled Pinned Locked Moved Solved Support
supportclidashboarddomainssh
6 Posts 3 Posters 1.1k 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.
  • C Offline
    C Offline
    CBCUN
    wrote on last edited by CBCUN
    #1

    Hi,

    I have entered this morning out of stupidity a wrong domain for the dashboard.

    Can I also change the domain for the dashboard via terminal or CLI?

    Greetings
    Chris

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

      There is no cli tool to perform that. However you could set that wrong dashboard domain pointing to the correct IP locally in your /etc/hosts file on linux (not sure about other OSes) and then open that in your browser to perform the change to the correct one.

      1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        See https://docs.cloudron.io/troubleshooting/#unreachable-dashboard

        1 Reply Last reply
        0
        • girishG girish has marked this topic as solved on
        • C Offline
          C Offline
          CBCUN
          wrote on last edited by
          #4

          Hi,
          unfortunately it does not work. an Ip address was entered as domain. this results in the dashboard address: my.xxx.xxx.xxx.xxx. This address can not be resolved.

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

            @CBCUN I tried this now, you can just put xxx.xxx.xxx.xxx my.xxx.xxx.xxx.xxx in /etc/hosts . In firefox, atleast, I have to explicitly type https://my.xxx.xxx.xxx.xxx . Just putting my.xxx.xxx.xxx.xxx makes it search

            1 Reply Last reply
            0
            • C Offline
              C Offline
              CBCUN
              wrote on last edited by CBCUN
              #6

              Ok. I will doublecheck this. Give me a few hours for this.
              Thanks for the moment 🙂

              Update: Solution work fine! Thanks a lot. 👍

              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