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
  • Brite
  • 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 - Status | 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 1.4k 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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              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