# Hosting for a bedrock project, how to configure the server? SiteGround hosting

**URL:** https://discourse.roots.io/t/hosting-for-a-bedrock-project-how-to-configure-the-server-siteground-hosting/19127
**Category:** bedrock
**Tags:** deploys
**Created:** 2020-09-17T06:50:39Z
**Posts:** 6

## Post 1 by @artem.nistuley — 2020-09-17T06:50:39Z

Hi! Could you please advise hosting for a Bedrock project or give any recommendations for setting up a server?

I know Kinsta supports Bedrock, but they have expensive starting rates. I chose SiteGround as starter hosting, but I can’t deploy the project to it. Here’s what tech support writes to me:

“I’m afraid that your site is very highly customised and we cannot really advise on how to keep this special document root structure on our end. We also cannot change the default document root of sites.  
I recommend simply moving the WordPress files to the correct document root:  
~/www/cozywarmlab.com/public\_html  
And using a standard “wp-config.php” file. If you confirm, we can do that from our end - move the files to the document root and replace the “wp-config.php” with a default one. Apart from this, I’m afraid I can only recommend consulting a professional developer or the company which advises you to use such a custom structure. If they suggest any server-side changes, we will be happy to assist you with them as long as the hosting environment allows it.”

But I do not want to somehow change the structure of the project, because the project is tracked by GIT. For local development I use MAMP with Apache just changing the root document.

What do you recommend? Perhaps you know another hosting that supports Bedrock? Any advice on setting up the environment.

---

## Post 2 by @csorrentino — 2020-09-17T16:43:03Z

I’ve made it work for clients that use siteground. I deleted the public\_html directory and quickly created a symlink called public\_html that points to the bedrock /web directory.

Here’s a guide from another hosting company explaining the process. It’s not bedrock specific so the paths will look different. In your case the “new\_document\_root” part might look like `~/www/cozywarmlab.com/bedrock/web`  
[https://www.a2hosting.com/kb/developer-corner/apache-web-server/changing-the-document-root-directory](https://www.a2hosting.com/kb/developer-corner/apache-web-server/changing-the-document-root-directory)

You need to connect to the server via ssh and you have make the changes quickly so the servers doesn’t create another public\_html directory. It helps to write the two lines out in a text editor so you can quickly paste them into your terminal. \*note this only works if you’re **not** using the public\_html directory for anything else.

---

## Post 3 by @artem.nistuley — 2020-09-18T07:22:22Z

Thanks for the reply!  
But I’ve already changed hosting to Cloudways. This works great for Bedrock.

---

## Post 4 by @Saxpaolo — 2021-10-28T09:24:43Z

Question: if I upload my bedrock app into public\_html and then create an .htaccess in public\_html that redirect to the internal wp folder (say “/my\_bedrock\_app/web/app”)?

---

## Post 5 by @dsouzaj86 — 2022-03-24T09:00:33Z

@Saxpaolo - This is absolutely right and is how I am currently running my system on SiteGround. They describe the process in their docs, here; [How to change my document root folder using an .htaccess file?](https://www.siteground.co.uk/kb/how_to_change_my_document_root_folder_using_an_htaccess_file/)

---

## Post 6 by @basvandertogt — 2023-06-01T07:34:56Z

I love Cloudways as well but some services are not supported (object cache pro and webp) because they don’t support custom paths. Hopefully they are gonna support bedrock soon.
