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. LAMP
  3. How to Change a Local Domain to a Public One in Cloudron?

How to Change a Local Domain to a Public One in Cloudron?

Scheduled Pinned Locked Moved LAMP
6 Posts 3 Posters 324 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.
  • alejandrolenguaA Offline
    alejandrolenguaA Offline
    alejandrolengua
    wrote on last edited by alejandrolengua
    #1

    Hi everyone,
    I have set up a LAMP application on Cloudron using a local domain on my own server through a VPN, and everything seems to be working fine after editing my computer's hosts file.

    However, I would like to know the correct procedure to change the domain to a public one when the application moves to production.

    What steps should I follow?

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

      Does your Cloudron also use a local domain ? Or only the lamp app?

      When you say local domain do you mean something like .local ?

      Are you using self signed certs and Manual DNS provider ?

      The final approach is: add Domain to Cloudron in Domains view (note you add the top level domain like bar.com and not the app domain). then, go to LAMP app -> Location -> change the drop down to bar.com and choose some subdomain like app. That should bei t.

      1 Reply Last reply
      1
      • alejandrolenguaA Offline
        alejandrolenguaA Offline
        alejandrolengua
        wrote on last edited by
        #3

        I'm currently using a .local domain and have asked end-users to edit their hosts files for web application testing. As a result, I'm using self-signed certificates. When I switch to a public domain, obtaining an SSL certificate from Comodo or GoDaddy won't be a problem.

        My concern is whether the VPS's current private IP could cause issues, considering the public IP is on the external firewall.

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

          Will you then be port forwarding port 443 from the external firewall to the private IP ?

          Think it should be ok, this set up is fairly common .

          1 Reply Last reply
          0
          • alejandrolenguaA Offline
            alejandrolenguaA Offline
            alejandrolengua
            wrote on last edited by
            #5

            I did change the domain of the application, but now it is showing as busy (Configuring - Waiting for propagation of the domain)
            Captura de pantalla 2025-05-05 152720.png

            jdaviescoatesJ 1 Reply Last reply
            1
            • alejandrolenguaA alejandrolengua

              I did change the domain of the application, but now it is showing as busy (Configuring - Waiting for propagation of the domain)
              Captura de pantalla 2025-05-05 152720.png

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

              @alejandrolengua have you already created the A record as instructed? If so it's probably just a matter of waiting for propagation like it says. Can be really quick, can take hours (or technically even days but that's pretty rare)

              I use Cloudron with Gandi & Hetzner

              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