Jump to content

Creating/updating SaaS with multiple subdomains


Recommended Posts

Am currently trying to develop a SaaS, where each user gets their own subdomain with their application. Am wondering, though, with installation and subsequent updates:

  1. What is the best way to initiate an installation? The project is currently in a git repository. Is it better to simply pull the master branch per installation; or is zipping up the master branch, copying it to the new subdomain, then running the installation a better (secure?) method?
  2. What is the best way to initiate an update of code? If using the git repo, hat would deal with updated code, but not updated MySQL tables.
  3. Should the user be allowed to choose to update (so much like W$, a popup shows up that says there's an update; user can choose to update or ignore); or should all updates be forced (such as at a certain time)?
  • I haven't seen much online with my searches, but I may be blind at this point. Any thoughts/comments appreciated!


Link to comment
Share on other sites

If its all hosted on the one server why use multiple installs in the first place? Your application should be built to handle multiple tenancy.


1 & 2) There are plenty of deployment tools around. Personally I use capifony which is capistrano tuned for Symfony applications.


3) Most SaaS services auto update without the user being aware.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.