<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to host a website on LAMP?]]></title><description><![CDATA[<p dir="auto">Hi all.</p>
<p dir="auto">I realise this might be a very basic task for most.<br />
But, i'm having some trouble with deploying my website to Cloudron LAMP stack.</p>
<p dir="auto">Basically, once i deploy the files to the <code>public</code> folder, restart the app, i encounter the <code>500</code> <code>Internal Sever Error</code>.</p>
<p dir="auto">What's the cause of this error (in the context of Cloudron's LAMP app) and do i resolve it?</p>
<p dir="auto">Thanks,</p>
]]></description><link>https://forum.cloudron.io/topic/11174/how-to-host-a-website-on-lamp</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 21:04:13 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11174.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Feb 2024 15:00:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 16:42:16 GMT]]></title><description><![CDATA[<p dir="auto">Seem to have identified the issue.</p>
<p dir="auto"><code>.htaccess / .htpasswd</code> were the culprit here.</p>
<p dir="auto">In the <code>.htaccess</code> file, once i provided the full path to the <code>.htpasswd</code> file, the site works.</p>
<pre><code>AuthUserFile /app/data/public/.htpasswd
</code></pre>
]]></description><link>https://forum.cloudron.io/post/83985</link><guid isPermaLink="true">https://forum.cloudron.io/post/83985</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Sun, 25 Feb 2024 16:42:16 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Mon, 26 Feb 2024 12:42:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> said in <a href="/post/83990">How to host a website on LAMP?</a>:</p>
<blockquote>
<p dir="auto">So Noodl does not require the MondoDB connection ?</p>
</blockquote>
<p dir="auto">Noodl is primarily a frontend builder.</p>
<p dir="auto">It's just that it has first-class connectors for Parse (which is based on MongoDB), to add the data layer for your app.</p>
<p dir="auto">Anyway, you can bring any data source (accessible via REST/GRAPHQL/Static) to your app in Noodl.</p>
]]></description><link>https://forum.cloudron.io/post/84005</link><guid isPermaLink="true">https://forum.cloudron.io/post/84005</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Mon, 26 Feb 2024 12:42:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 18:41:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shrey" aria-label="Profile: shrey">@<bdi>shrey</bdi></a> said in <a href="/post/83982">How to host a website on LAMP?</a>:</p>
<blockquote>
<p dir="auto">Yeah, not an issue in my case.</p>
</blockquote>
<p dir="auto">So Noodl does not require the MondoDB connection ?</p>
<p dir="auto">No experience of Noodl, but looks interesting.  WIll try to find time (ha ha ha) to play with it.</p>
]]></description><link>https://forum.cloudron.io/post/83990</link><guid isPermaLink="true">https://forum.cloudron.io/post/83990</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sun, 25 Feb 2024 18:41:06 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 18:37:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shrey" aria-label="Profile: shrey">@<bdi>shrey</bdi></a> great news, well done<br />
And great that it is a simple fix, even if not immediately obvious.</p>
<p dir="auto">Seems to me that you do know how to deploy to LAMP properly. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=74f512c8ff7" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
]]></description><link>https://forum.cloudron.io/post/83989</link><guid isPermaLink="true">https://forum.cloudron.io/post/83989</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sun, 25 Feb 2024 18:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 16:42:16 GMT]]></title><description><![CDATA[<p dir="auto">Seem to have identified the issue.</p>
<p dir="auto"><code>.htaccess / .htpasswd</code> were the culprit here.</p>
<p dir="auto">In the <code>.htaccess</code> file, once i provided the full path to the <code>.htpasswd</code> file, the site works.</p>
<pre><code>AuthUserFile /app/data/public/.htpasswd
</code></pre>
]]></description><link>https://forum.cloudron.io/post/83985</link><guid isPermaLink="true">https://forum.cloudron.io/post/83985</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Sun, 25 Feb 2024 16:42:16 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 16:30:19 GMT]]></title><description><![CDATA[<p dir="auto">If you go into the Setting for the App on the Cloudron dashboard, you can get to the logs in from<br />
<img src="/assets/uploads/files/1708878543391-e7162477-0ec8-4360-8488-f388443f3990-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">From there you will probably get more info as to what is actually causing the 500 error.</p>
]]></description><link>https://forum.cloudron.io/post/83983</link><guid isPermaLink="true">https://forum.cloudron.io/post/83983</guid><dc:creator><![CDATA[akammeyer]]></dc:creator><pubDate>Sun, 25 Feb 2024 16:30:19 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 16:26:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> said in <a href="/post/83981">How to host a website on LAMP?</a>:</p>
<blockquote>
<p dir="auto">I don't know this (looks nice) but it seems it needs to call something, which is not returning anything, leading to the 500 error. Wild guess it is calling, or trying to call, a MongoDB db.</p>
</blockquote>
<p dir="auto">Yeah, not an issue in my case. Have successfully deployed a multitude of 'Noodl apps', in a similar way, just to other hosting services (including LAMP servers) until now.</p>
<p dir="auto">Also, i did get the same set of files working fine (i think) in Surfer now.</p>
<p dir="auto">But, would still like to know how to deploy sites/apps properly in the LAMP app in Cloudron.</p>
]]></description><link>https://forum.cloudron.io/post/83982</link><guid isPermaLink="true">https://forum.cloudron.io/post/83982</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Sun, 25 Feb 2024 16:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 16:24:00 GMT]]></title><description><![CDATA[<p dir="auto"><code>www-data</code> is good for file permissions.<br />
I notice it seems to be built with <code>noodl</code><br />
I don't know this (looks nice) but it seems it needs to call something, which is not returning anything, leading to the <code>500</code> error. Wild guess it is calling, or trying to call, a MongoDB db.</p>
<blockquote>
<p dir="auto">As a background it's good to know that a Noodl App consists of three parts:<br />
The database All Noodl applications must be backed by a database, you can use either a MongoDB or Postgres compatible database. This is where users and other records are stored. Nodes like Query Records access the database via the backend web service.<br />
The backend service This is the Noodl backend service that is provided via a Docker image and an instance can be started on most cloud providers. The Noodl backend is based on and compatable with the Parse Platform which is a great choice for a backend service. A solid open source project with an active foundation supporting many of the critical functions needed.<br />
Static frontend hosting Noodl applications are SPAs (Single Page Applications) and need a place that serves the application frontend created when you deploy your application from Noodl.</p>
</blockquote>
<p dir="auto"><a href="https://noodlapp.github.io/noodl-docs/docs/guides/deploy/using-an-external-backend#the-different-parts-of-a-noodl-app" target="_blank" rel="noopener noreferrer nofollow ugc">https://noodlapp.github.io/noodl-docs/docs/guides/deploy/using-an-external-backend#the-different-parts-of-a-noodl-app</a></p>
<p dir="auto">Did you set up this up ?<br />
Just guessing for now, let us know any info about how you have handled this.</p>
]]></description><link>https://forum.cloudron.io/post/83981</link><guid isPermaLink="true">https://forum.cloudron.io/post/83981</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sun, 25 Feb 2024 16:24:00 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 15:19:53 GMT]]></title><description><![CDATA[<p dir="auto">This is my unedited view of the<code>Root folder</code> --&gt;<br />
<img src="/assets/uploads/files/1708874244085-5a8bf4a9-f1d6-4486-b60b-57f49ce78879-image-resized.png" alt="image.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto">And then the <code>Public folder</code> --&gt;</p>
<p dir="auto"><img src="/assets/uploads/files/1708874300887-cdd5181f-6d31-4ba0-bc3d-7693bae70fb9-image-resized.png" alt="image.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto">This results in the app domain itself, hitting the <code>500 Internal Server Error</code>.</p>
]]></description><link>https://forum.cloudron.io/post/83978</link><guid isPermaLink="true">https://forum.cloudron.io/post/83978</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Sun, 25 Feb 2024 15:19:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 09:13:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shrey" aria-label="Profile: shrey">@<bdi>shrey</bdi></a> as you're uploading static files, you could also try deploying to the <code>public</code> folder of a Surfer app.  Firstly it is just another option to serve up your website, but also it could be useful to know if the result is same or different.</p>
<p dir="auto">Using the LAMP app's File Manager, do you see if the files are owned by <code>cloudron</code> ?</p>
]]></description><link>https://forum.cloudron.io/post/83951</link><guid isPermaLink="true">https://forum.cloudron.io/post/83951</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sun, 25 Feb 2024 09:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 07:04:36 GMT]]></title><description><![CDATA[<p dir="auto">I'm running a PHP app in the LAMP app right now. Anything that would run in a regular LAMP env will work. Most likely your permissions are incorrect, and/or you uploaded the root folder (with all that it contains) to Public, when it's everything IN your root folder that has to go in Public. Public is the root folder now.</p>
]]></description><link>https://forum.cloudron.io/post/83949</link><guid isPermaLink="true">https://forum.cloudron.io/post/83949</guid><dc:creator><![CDATA[scooke]]></dc:creator><pubDate>Sun, 25 Feb 2024 07:04:36 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sun, 25 Feb 2024 01:14:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> The former: uploading html, js and css files to the <code>public</code> folder.</p>
]]></description><link>https://forum.cloudron.io/post/83940</link><guid isPermaLink="true">https://forum.cloudron.io/post/83940</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Sun, 25 Feb 2024 01:14:35 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sat, 24 Feb 2024 19:19:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shrey" aria-label="Profile: shrey">@<bdi>shrey</bdi></a> “deploy website” means uploading static html, js, css ? Or it’s a PHP-based app ?</p>
]]></description><link>https://forum.cloudron.io/post/83930</link><guid isPermaLink="true">https://forum.cloudron.io/post/83930</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sat, 24 Feb 2024 19:19:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to host a website on LAMP? on Sat, 24 Feb 2024 17:25:19 GMT]]></title><description><![CDATA[<p dir="auto">Can you look at the app’s logs and provide more information on the error?</p>
]]></description><link>https://forum.cloudron.io/post/83929</link><guid isPermaLink="true">https://forum.cloudron.io/post/83929</guid><dc:creator><![CDATA[akammeyer]]></dc:creator><pubDate>Sat, 24 Feb 2024 17:25:19 GMT</pubDate></item></channel></rss>