No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to setup Subdomains from main app

    Framework
    2
    7
    361
    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.
    • F
      folami last edited by

      I have my web application(built with quasar SSR) ready for deployment, but i want some parts of this app to run under separate subdomain, for instance, the main app address will be located at myapp.com or www.myapp.com, and a part of the app will be located at admin.myapp.com or customer.myapp.com
      please how can I get this setup with quasar ssr app??

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        My suggestion, and this isn’t from any experience, but I think the apps should be all different apps. So, you’d need a “web” app, an “admin” app and a “customer” app and all be served by separate web server instances. Or, you will have to go with myapp.com/, myapp.com/admin and myapp.com/customer to have it on a single web server instance.

        Scott

        F 1 Reply Last reply Reply Quote 0
        • F
          folami @s.molinari last edited by

          @s-molinari I personally think the former option(having different webservers for subdomains) will be to heavy on the server…I read about express-subdomain but i don’t know if I can achieve my aim with it

          1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            Express isn’t that big of an application and creating three different instances wouldn’t be too resource intensive. What get’s resource intensive is the number of users you actually have.

            Scott

            F 1 Reply Last reply Reply Quote 0
            • F
              folami @s.molinari last edited by

              @s-molinari I’m not getting something clearly! are you saying I have to create different quasar(ssr) apps or I can have three express instances in one quasar(ssr) app? please clarify

              1 Reply Last reply Reply Quote 0
              • s.molinari
                s.molinari last edited by

                Three apps, served by three server instances, if you want them to all be on different domains.

                Scott

                F 1 Reply Last reply Reply Quote 0
                • F
                  folami @s.molinari last edited by

                  @s-molinari okay thanks so much

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post