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. Off-topic
  3. Hosting subdomain with Apache2 virtual hosts

Hosting subdomain with Apache2 virtual hosts

Scheduled Pinned Locked Moved Off-topic
7 Posts 7 Posters 1.1k Views 7 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.
    • S Offline
      S Offline
      salturki
      wrote on last edited by
      #1

      I already have WordPress running on the main domain and now I am trying to create a subdomain for Django application.

      I am following DigitalOceacn tutorial to setup Apache2 virtual hosts

      https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

      I created the config files at
      /etc/apache2/sites-available/

      and when restarting Apache2 I get this error:

      07bed800-a7bc-497e-9733-c49ee0d79ee3-image.png

      I appreciate any pointers or suggestions if there is a better way?

      A micmcM subvenS 3 Replies Last reply
      0
      • S salturki

        I already have WordPress running on the main domain and now I am trying to create a subdomain for Django application.

        I am following DigitalOceacn tutorial to setup Apache2 virtual hosts

        https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

        I created the config files at
        /etc/apache2/sites-available/

        and when restarting Apache2 I get this error:

        07bed800-a7bc-497e-9733-c49ee0d79ee3-image.png

        I appreciate any pointers or suggestions if there is a better way?

        A Offline
        A Offline
        ApplegateR
        wrote on last edited by
        #2

        @salturki are you sure you using cloudron?

        Seem you doing on your own server to build apache server than cloudron. If you use cloudron I would never touch these because cloudron will push update these every time overwrite all configure. So installing app or package behind cloudron will not sucess.

        Richard Applegate
        Anthem Coffee and Tea
        Joe Coffee
        IT/Administrator Server/Network

        1 Reply Last reply
        1
        • S salturki

          I already have WordPress running on the main domain and now I am trying to create a subdomain for Django application.

          I am following DigitalOceacn tutorial to setup Apache2 virtual hosts

          https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

          I created the config files at
          /etc/apache2/sites-available/

          and when restarting Apache2 I get this error:

          07bed800-a7bc-497e-9733-c49ee0d79ee3-image.png

          I appreciate any pointers or suggestions if there is a better way?

          micmcM Offline
          micmcM Offline
          micmc
          wrote on last edited by
          #3

          @salturki You cannot run other apps on the server in parallel to Cloudron once it is installed. So, that means if you want to run Django you need to do so from another server.

          Ignorance is not an excuse anymore!
          https://AutomateKit.com

          fbartelsF 1 Reply Last reply
          1
          • micmcM micmc

            @salturki You cannot run other apps on the server in parallel to Cloudron once it is installed. So, that means if you want to run Django you need to do so from another server.

            fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote on last edited by
            #4

            @micmc said in Hosting subdomain with Apache2 virtual hosts:

            you need to do so from another server.

            Or within a (custom) app

            1 Reply Last reply
            0
            • scookeS Offline
              scookeS Offline
              scooke
              wrote on last edited by
              #5

              I can hardly wait to get an update on this!

              A life lived in fear is a life half-lived

              1 Reply Last reply
              0
              • S salturki

                I already have WordPress running on the main domain and now I am trying to create a subdomain for Django application.

                I am following DigitalOceacn tutorial to setup Apache2 virtual hosts

                https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

                I created the config files at
                /etc/apache2/sites-available/

                and when restarting Apache2 I get this error:

                07bed800-a7bc-497e-9733-c49ee0d79ee3-image.png

                I appreciate any pointers or suggestions if there is a better way?

                subvenS Offline
                subvenS Offline
                subven
                wrote on last edited by
                #6

                @salturki said in Hosting subdomain with Apache2 virtual hosts:

                I am following DigitalOceacn tutorial to setup Apache2 virtual hosts

                You're doing it wrong. Please read the Cloudron docs and limitations. If you want to host something on a subdomain that is not provided by Cloudron, you have to host on another server and point your domain there.

                Do not mess with the OS while Cloudron is running and maintaining your server.

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

                  I am tempted to move this to off-topic but will wait to see if @salturki responds.

                  1 Reply Last reply
                  2
                  • girishG girish moved this topic from Support on
                  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