Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


web application (framework) in which reg. users can create & host webpage + custom subdomain
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

web application (framework) in which reg. users can create & host webpage + custom subdomain

Hello Everybody,
maybe i am just lacking the right terms in order to find something relevant in google, or maybe there is nothing public/open sourced but all custom private.
And anyway I am interested how it is done that when registered users in a web application (be it WordPress, Joomla or any other) could create an account/webpage that is then auto-hosted in a user-defined subdomain.

e.g. user wants "coolwebhost" and the subdomain coolwebhost.AAA.COM is created and hosted automatically

the reason I am asking here in LET is, because several config files in the web server set up would be affected (all virtual hosts?) and all of this is security relevant on top. and some of you may have come across a solution more than once.
Do you know if there is some framework on application level featuring this?
thank you Silverd

Comments

  • This is too general. You don't even state your language preference. Higher chance people will just recommend you nodeJS, Python/Django, Rails, and avoid PHP.

  • @creep said:
    This is too general. You don't even state your language preference. Higher chance people will just recommend you nodeJS, Python/Django, Rails, and avoid PHP.

    Or, ya know, you could just suggest sed and a handful of templates and party like its' 1998.

    Thanked by 1FlamesRunner
  • "Web framework"

    Sounds more like an application that you want someone to develop.

    @CyberMonday: Pft, sed? That's boring, let's echo entire templates!

  • Do you mean something like WordPress multisite , WordPress.org or blogspot?

  • sanmax88sanmax88 Member
    edited October 2018

    This is the off the shelf solution I know, https://premium.wpmudev.org/multisite/

    Probably not the best, but if you want a quick one, there you go.

    Then for web design, go with Beaver Builder Agency license (Elementor is an alternative), and Toolset for custom types.

    For extras, Astra WP bundle.

    PS: Pls dont expect that this would be optimized and well integrated (and secure). This is a plug and play kind of thing.

  • armandorgarmandorg Member, Host Rep

    He probably means something like weebly or wix, user registers and is able to create a website with a subdomain from the main domain. And it automatically installs wordpress, joomla...etc in that subdomain. [ I would assume? ]

    Thanked by 1kkrajk
  • you can use a wilcard at the DNS level and then your script/program handles the requests...

  • DedicadudeDedicadude Member
    edited October 2018

    GatsbyJS can do this. It’s actually using JAMstack and you certainly need to master JavaScript, GraphQL/JSON (JavaScript Object Notation) and use NodeJS/ReactJS in order to solve your problem. It’s quite easy and powerful. You can also try to setup your front-end using ElectronJS with UIkit 3 since you can cross-compile across multiple OS platforms.

    I agree with @creep avoid PHP/MySQL, we are in 2018 not 90’s. Client-side languages can generally perform faster compared to server-side languages. Why? Because with Node, you can create and configure subdomains (virtualhost) easily on Nginx — better than Apache (my opinion). While PHP 7.3 has slightly improved since its PHP 5 era, there are many other technology that can actually do this kind of stuff easily.

    Or

    Just pay $1.50/mo and use Softaculous/Fantastico 😂

    Edit: Also, (if you still insist) and lazy to learn other “frameworks” apart from the typical PHP-solution, I think I came across some PHP scripts that can solve your problem at CodeCanyon.net go ahead and search. Since I’m on mobile, I can’t give you direct links... you need to do some homeworks. To work faster, you can start-off with Laravel 5.7+, Symphony, CakePHP, or CodeIgniter 4 and find a way to configure your webserver virtual host settings using your own RESTful API.

    Best of luck!

  • Thank you all for you input, I screened your answer/solutions so far and will have to dig down further.
    I was asking exploratively, so not being biased about languages etc was intentional

    @FlamesRunner said:
    "Web framework"
    Sounds more like an application that you want someone to develop.

    certainly not to be developed, but out there in the first place

    yes you could 'hosting a website' call a saas too. seems like that had been the only published part of anantgarg post series

    @hardgamers

    @sanmax88 said:
    This is the off the shelf solution I know, https://premium.wpmudev.org/multisite/

    yes multisite was nothing that i have touched so far, was impressed to see that wpmu dev can scale 5 million multisites with one installation

    @datanoise said:
    you can use a wilcard at the DNS level and then your script/program handles the requests...

    yes

    @Dedicadude said:
    GatsbyJS can do this. It’s actually using JAMstack and you certainly need to master JavaScript, GraphQL/JSON (JavaScript Object Notation) and use NodeJS/ReactJS in order to solve your problem. It’s quite easy and powerful. You can also try to setup your front-end using ElectronJS with UIkit 3 since you can cross-compile across multiple OS platforms.

    yes looks definitely interesting and watched some videos of it in action e.g. pulling wordpress templates and creating a static version of it combined with other API data.

    I agree with @creep avoid PHP/MySQL, we are in 2018 not 90’s. Client-side languages can generally perform faster compared to server-side languages. Why? Because with Node, you can create and configure subdomains (virtualhost) easily on Nginx — better than Apache (my opinion). While PHP 7.3 has slightly improved since its PHP 5 era, there are many other technology that can actually do this kind of stuff easily.

    I am just on a niche project, not a new world SAAS, so speed is what I appreciate very much, this just do not need to be scaled for even 5 digit users
    but you trigger some ideas ;)

    Just pay $1.50/mo and use Softaculous/Fantastico 😂

    Not sure what they can offer other than wordpress MU
    Browsed codecanyon nothing interesting to my eye

    Thanked by 1Dedicadude
  • wiggl3wiggl3 Member
    edited October 2018

    @creep said:
    and avoid PHP.

    @Dedicadude

    You haven't been looking at PHP 7, Symfony and Laravel.. The hating on PHP meme is old my dude.

    Kayako.com is an example of a PHP app that lets each user have their own subdomain, custom help desk/hosting, it's built on Symfony afaik.

    https://laravel.com/ is a very user friendly framework to build medium scale apps, combine that with https://laracasts.com/ and you have a ton of educational resources to learn from. Good starting (and free) series: https://laracasts.com/series/laravel-from-scratch-2017

    https://laravel-tenancy.com/ is pretty good for making multi-tenant apps, which separates each user on their own database, and own subdomain.

    https://forge.laravel.com/ will make deploying on the cloud be as painless as it gets, combined with https://envoyer.io/ you can get 100% high availability for zero down time applications (of course nothing is 100% guaranteed, it's 100% dependent on your cloud providers)

    And of course, there are free video courses on Forge and Envoyer as well:

    https://laracasts.com/series/envoyer
    https://laracasts.com/series/learn-laravel-forge

    If you decide to pay for Laracasts, this is a freakin awesome series that will cover so much, it has 102 episodes: https://laracasts.com/series/lets-build-a-forum-with-laravel It also covers a lot of front-end with Vue2

    Also of course Jeffrey has a completely free series on Vue: https://laracasts.com/series/learn-vue-2-step-by-step/

    Laracasts is also built on Laravel btw!

    I really hate when people pull conclusions about PHP out of their asses without any fundamentals :smile:

  • I did not hate PHP. I love PHP but since I’m a semi-full stack developer, I try not to be ignorant. I even suggested Laravel and PHP in my earlier post. Also try not to offer some paid solutions (kayako and laracast tutorials) to some simple problems. Most people are not willing to pay $ especially those in LET. Inteoduce them the world of open source. That’s how the world should be. Sharing is caring afterall.

    For PHP frameworks, template engine on top of template engine, on top of another template engine, no thanks. Benchmark and compare that to Node. Even a simple client-side vs server-side validation will show you a few seconds difference.

    More info: https://reddit.com/r/lolphp

  • wiggl3wiggl3 Member
    edited October 2018

    I didn't offer paid solutions, Kayako was just an example of a multi-tenancy app built on Laravel. 4 out of 5 Laracasts I provided are free series :P Seems like you didn't read my reply in depth, but there's no harm I'm just trying to help.

    Also Laracasts costs $15 for a membership to get access to premium videos, the only link that I provided that's a premium link is a 102 episodes series, worth several hours of content. All the tools he used are open-source of course! You gotta appreciate the effort Jeffrey puts on all his educational videos, there's no harm in spending a bit to educate yourself better. You can download all the paid videos once subscribed and cancel your membership. Laracasts is not even necessary at all, but some people are more visual learners and I'd say the content is very much worth it.

    Laravel is open source, Vue is open source, PHP is open source. There's a ton of free content out there, including the links I provided on Laracasts. PHP is well supported on pretty much every host, from cheapo to expensive, it runs on cPanel, Plesk and the likes, you won't need a VPS to run your app. It also runs behind nginx no problem.

    Even a simple client-side vs server-side validation will show you a few seconds difference.

    Let's not make this into a php vs node thing lol.. you can still do client-side validation and use JS on Laravel apps, I even linked to a free VueJS video series on Laracasts :) Anyway, building a SaaS app on Laravel/PHP is very doable, enjoyable and easily deployable. Tons of free packages and educational content out there. I think OP should definitely give it a try.

Sign In or Register to comment.