Can I host a RAP application (Rich Ajax Platform) in Heroku? - heroku

I'm thinking of creating an application (RAP). I would like to know if I can host in Heroku or if you know a hosting provider that offers this service.

You can host anything that can run on Linux as long as you're not having to persist anything on the filesystem and you have a buildpack which suits your needs.
Once those are in place, the world is your oyster.

Related

Laravel production environment

I've worked on my web app and now it's ready to go on production. For developmnent I used XAMPP on my local machine. I need to deploy the app on a Windows Server 2016 in which other people have access to.
So let's start with some question for you!
1:
I suppose that using XAMPP is not a good idea since it doesn't offer a good level of security.
I want to protect my database, my database storage folders and I want to avoid other people to access any part of my environment.
So I actually want to ask you any suggestion on how to deploy my web app avoiding security issues.
I also would like to ask you the better free local environment I can use for production (something like XAMPP but with improved security).
Keep in mind that my web app should only be visible to the local network.
2:
Is there a way I can set an hostname for my server in order to make everyone who is connected to the lan able to reach my server with that hostname? Writing the IP with the port isn't good for user experience. I know I can use the "name" of the computer itself, but setting a custom hostname would be better.
3:
How should I serve the application? Running the normal command "php artisan serve"? Anyway that way just closing the terminal would result in killing the process so the server will become unavailable.
ANY suggestion would be really appreciated. Is my first approach to deployment so I'm really sorry if my questions are stupid.
Thank you in advance!

Make netty server on localhost accesable over internet

I have developed a Jooby-Application which is hosted on a netty server. I can access the application on localhost and tests were fine. Now I want to make the app accessable over internet and dont know what is the best way to reach this goal?
The complete application is hosted on a Windows Server, because it uses Excel. (Read/Write over Apache POI. For macros it has to be Windows) Should I try to connect the running netty-server with IIS or can I just forward the requests from outside to localhost? The last mentioned approach propably is a bad idea regarding security issues.
It works with reverse proxy over IIS. I had to install some features like Application Request Routing and URL Rewrite. Then I can start the jooby application (netty server) as usual on a specific port at localhost and set a reverse proxy to it.
I am not sure why being on a window is necessary, anyways, Netty is just a Java network programming framework, it can run on any platform where Java is installed.
You need to host a server, you can buy a VPS, install windows as OS, install Java, you can run your application as you like.
What I understand is you need to test it, for that you can use any port forwarding service like https://pagekite.net/support/intro/features/ to enable "world access" to localhost

Using SSL with Tomcat and Spring

I would like to add encrypted connections to my Spring application running on a Tomcat server in a remote host (Amazon EC2 server). I was going to add a Let's Encrypt certificate to my Tomcat, but while searching on the web I read that encrypting my connections could considerably slow down my application. So I was wondering, what would be the best practice to encrypt my application? And does it really slow down so much my application that it would be noticeable? I would really like to implement the best solution, so I am very grateful in advance for suggestions.
The (almost) universal practice is to put a proper high performance web server like nginx or Apache HTTPD in front of your application server acting as a reverse proxy and handling SSL. That way your application server stays on a private network and only a web server is exposed. It’s very easy and you can find many tutorials on how to set it up. Like this one: http://webapp.org.ua/sysadmin/setting-up-nginx-ssl-reverse-proxy-for-tomcat/

PHP, node, python Hosting Server

I want to run php, node files on a hosting server. And the node file runs the python script. it means the hosting server should have the python interpreter. Which hosting server supports all these? Can anyone help me?
Shared hosting may not offer all these services at one place. You can easily use VPS and Cloud Servers like DigitalOcean, Linode, AWS and GCE they have smaller plans like 10$/ mon which you can easily avail to host any applications. The best thing is you can create complete stack according to your requirements.
This is not talking about products, like digitaloecel, linode, aws, e-padi.com, and etc.
But this is talking about the additional features that are support on your server.
The easiest way is, you install OS CloudLinux + cPanel on your server whether it's a vps or a dedicated server, then you can activate the Python, nodeJS, CageFS, and others features via WHM (cPanel admin panel).

Hosting a Web Application

I have a quick question regarding hosting web applications. I've recently started getting into hacking so I just wanted to understand them a little more.
I am aware that to host websites you need to pay for a domain name, as well as a hosting service. So let's say you buy a domain from GoDaddy, and then you buy hosting from Dreamhost.
Let's say I'm making a web application in Node.js, then I need to buy a cloud platform such as heroku, correct?
So do I need to buy a domain, hosting service, AND a cloud platform in order to launch a web application?
Cloud hosting is just another kind of hosting versus stuff like Dreamhost.
You likely can't run something like Node.js on Dreamhost's shared hosting, but you could on one of their VPS/dedicated servers. Heroku's just easier for that sort of thing. You'd in most cases pick either Dreamhost or Heroku, not both.

Resources