Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Hosting subdomain with Apache2 virtual hosts

    Off-topic
    7
    7
    192
    Loading More Posts
    • 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
      salturki last edited by

      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 micmc subven 3 Replies Last reply Reply Quote 0
      • A
        ApplegateR @salturki last edited by

        @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
        The Joint Chiropractic
        IT/Administrator Server/Network

        1 Reply Last reply Reply Quote 1
        • micmc
          micmc @salturki last edited by

          @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.


          https://marketingtechnology.agency
          For cutting edge web technologies

          fbartels 1 Reply Last reply Reply Quote 1
          • fbartels
            fbartels App Dev @micmc last edited by

            @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 Reply Quote 0
            • scooke
              scooke last edited by

              I can hardly wait to get an update on this!

              A life lived in fear is a life half-lived

              1 Reply Last reply Reply Quote 0
              • subven
                subven @salturki last edited by

                @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 Reply Quote 0
                • girish
                  girish Staff last edited by

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

                  1 Reply Last reply Reply Quote 2
                  • Moved from Support by  girish girish 
                  • First post
                    Last post
                  Powered by NodeBB