Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mechwd's avatar

Install Database on existing server

I have a server that hosts my website. I now want to add a subdomain for a site that will have a database. It says it needs to be configured but gives no direction on how to do it. Docs just say to use the database tab on the server. This is most unhelpful as the page gives no option to add one. I really don't want to destroy the server because I have my live website up and running right now. So how do I add databases to my databaseless server?

0 likes
9 replies
Sinnbeck's avatar

So your main site does not have a database? What docs?

mechwd's avatar

No, my existing server/site does not have a database (using Statamic)

forge.laravel.com/docs/1.0/resources/databases.html#installing-databases-later

Sinnbeck's avatar

@mechwd did you read the red box? Seems you can't. Why not just make a new app server for the subdomain? You can just pick a cheap server type.

mechwd's avatar

@Sinnbeck It says you can't for a Web server. Mine is an app server. " If you need a database and web server on the same server, you should provision an "App Server"."

Sinnbeck's avatar

@mechwd ah ok then I would assume there is a database button under the server. I don't use forge (I use ploi), so I cannot say exactly where

I'm sure someone can point to the exact location

mechwd's avatar

@Sinnbeck Sadly there isn't. Im just going to have to go through the trouble of recreating the server.

Sinnbeck's avatar

@mechwd I'm just thinking if I know someone who uses forge. Maybe it's hidden somehow

Sinnbeck's avatar

It should just be

Servers > click your server > Database

MohamedTammam's avatar

From the docs

Web servers contain the web server software you need to deploy a typical Laravel / PHP application, but they do not contain a database or cache. Therefore, these servers are meant to be networked to other dedicated database and cache servers. Web servers are provisioned with the following software:

I recommend reaching out the support, they very helpful.

Please or to participate in this conversation.