Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Problem with shared hosting

Started by Muut Archive 12 years ago · 4 replies · 272 views
12 years ago

I use Bluehost as my hosting, and I have different domains that host websites there. The tree is like this:

TXT
public_html
--folderofonewebsite
--folderofanother
--folderofanother

My main website is the root, and the other websites have a folder to upload the files.
What happens is that I try to upload Grav to the root, but it returns me a blank page when I browse the domain I uploaded Grav to. Can you help me?

12 years ago

This is a bit tricky because running sites inside other sites is potentially problematic. This is because CMS platforms such as Grav and even Joomla/WordPress, etc use an .htaccess file to route requests to a index.php of the CMS. This allows for SEO URLs.

If you try to put one site inside another, the parent site might try to route the path of your child site as a URL to a page it knows about.

This is why you should have each of your sites inside their own distinct folder, and use virtual hosts (http://site1.mysite.com, http://site2.mysite.com, etc).

So back to the original issue, Grav displaying white page. I would check first that your running PHP 5.4+. If sill a white page, then something is causing PHP to throw an error. You will need to find what that error is either by a) looking in the error log or b) turn on PHP errors: https://my.bluehost.com/cgi/help/109

You might need to contact your host and ask them directly as I'm not familiar with how they setup their hosting.

12 years ago

Hello, I just had the same problem and my solution was to change the PHP config from 5.2 to 5.4. in the BlueHost cPanel.

12 years ago

@preem if you could help out and write up your experiences with BlueHost and setting it up for Grav like these:

  1. Arvixe Hosting
  2. Siteground Hosting
  3. WireNine Hosting

It's hard for us to do this for every host, so people who have direct experience with these hosting providers are our best resource :)

It would be really appreciated.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1282 9 years ago
Archive · by Muut Archive, 9 years ago
2 889 9 years ago
Archive · by Muut Archive, 9 years ago
2 4019 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1078 9 years ago