LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can I run a personal programmed server on my website's host http server? (https://www.linuxquestions.org/questions/linux-networking-3/can-i-run-a-personal-programmed-server-on-my-websites-host-http-server-4175438462/)

esgol 11-23-2012 02:28 PM

Can I run a personal programmed server on my website's host http server?
 
I have created a personal DBMS in C/C++ and I'm curently programming the forked multiclient server to "Internetize" it so it can support websites.

So I was wondering : I can of course have it on my PC work with an ODBC driver (php script or CGI) at apache on localhost.

I can also make a php script or cgi on my hosted website that connects to my PC (if its on power-internet) with a link "Protocol+IP+MyDBMS_Server_Port+Socket"

BUT can I run my entire DBMS server on my website's Http host server?

Some sed to me that Http Hosts servers would never give such a potential. They hardly give potential to run procedures or triggers on their own DB-servers.

Is there a way to do it? Maybe making the server in some other form, like i dont know a service or in PhP if any of these is possible.

Thank you very much

frankbell 11-23-2012 08:44 PM

I think it would be a good idea to address this question to your web hosting service.

If it's possible, they can help. If it would violate your hosting terms of service, they can tell you.

esgol 11-24-2012 01:17 AM

I havent chosed one yet. Thats why I'm asking. Have you ever heared of such a potential? Letting you plant into their system a server of yours, running in parallel with their http server and their DB-servers - or any others servers they have?

What alternative do I have in the form of my db-server, so it can be hosted by my hostserver?

I guess it can't run as CGI. CGIs start-run-end at each request. DBMS server must control all concurent access to the database from different clients through its concurency controles system. So it has to run into the host paralel to the http server, independently & continuesly as an indepented server.

What could i do - How could I do it?

NyteOwl 11-24-2012 03:07 PM

Trying to run such a system on a shared hosting account will likely cause no end of problems both for others on the same server as you use up shared resources and eventually for you with the host. Most shared hosting TOS do not permit additional servers run in the account space.

If you are looking to do this I would recommending looking at a VPS.

esgol 11-25-2012 08:07 AM

Ahhh so with a VPS I can be provided my personal server with a space and a ram to manage...
...with cost +200% from the most expensive website hosting as i see.(starting from 10$)

Is that true? So with a VPS I can plant my server-api of dbms in the server paralel to the http server eh?


All times are GMT -5. The time now is 11:18 PM.