I have created a small project using Wt(C++ Web Toolkit). and I now want to host it.
- Since there are very sparse resources for this, I read somewhere that LAMP is required for this(since I am using Linux). So after creating an Ubuntu instance at Digital Ocean, I installed my code in it with Apache2, MySql, and PHP. The Apache2 server is working, but it is used for hosting HTML/CSS/JS files. my web page is written entirely in C++.
- I got directed to this website: https://www.webtoolkit.eu/wt/doc/reference/html/overview.html#wthttpd where it mentions "connectors" like
libwthttp
andlibwtfcgi
. I tried to install them usingapt
but I get this error:E: Unable to locate package libwtfcgi-dev
(same for libwthttp). - The website mentioned above also does not provide clear steps for using these connectors.
- I have also looked at other related answers : Host for Wt C++ web framework, deplowment issue but since I am new to web hosting, I would really appreciate a step-by-step guidance.
- Even here: https://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache The language is very unclear ast to where
fastcgi.conf
is located.