Deploying a user program to a hosting service

I am a complete newbie on servers / hosting, etc., although I have some programming experience in C, Java, etc. So excuse me if the question is "absurd."

Recently, I bought a service from a hosting site, namely this one (hostmds). I have a code that I wrote in C ++, and I want to run it on a hosting site. So my question is:

  • Is this possible, or will I have to rewrite everything in a new language?
  • What should be my approach?

Edit: I have a shared hosting account.

+5
source share
3 answers

" " . - , .

, HTTP- (, Apache, Linux/Unix), .

" " ( ) SSH, , ( ) ( , )

+4

? , ?

cgi-bin .

/, , , , , . , .:)

+2

CGI/FastCGI/SCGI, - ++. , , , , - , - ( ).

In shell services and virtual servers, you can also run daemons (that directly listen on the port), but especially in shell services that you cannot listen on low ports (0..1024) for security reasons.

Please note that the cheapest hosting packages usually allow maximum PHP, so you need something more expensive for more access.

It is better to ask the hosting provider for additional information, as these things are wildly different from host to another.

+2
source

All Articles