<p>Not sure the underlying cause, but clearing the <code>craft/storage/runtime/cache</code> folder that both sites shared caused both sites to start working as expected.</p>

CC BY-SA 3.0
2016-06-20T10:54:44.547Z
Your folder clearing skills are clearly superior to mine. ;) Thanks, Brad!
Sandwich
CC BY-SA 3.0
2016-06-20T17:43:28.227Z
I've got a college degree in clearing folders!
Brad Bell
CC BY-SA 3.0
2016-06-20T04:46:23.787Z
2016-06-20T04:46:23.787Z
Brad Bell
<p>I was developing a site on my server. Craft was living at <code>~/mysite.com/craft/</code>, the webroot was <code>~/mysite.com/www/</code>, and the URL was <code>dev.mysite.com</code>.</p>

<p>Now I want to deploy the site to <code>www.mysite.com</code>, but the host (HostGator) requires that the hosting account's primary domain (<code>www.mysite.com</code>) point to <code>~/public_html/</code>. Ok, fine. First, I changed the <code>dev</code> subdomain to point to <code>~/public_html/</code> instead of to <code>~/mysite.com/www/</code>. Then I moved the <code>index.php</code> and <code>.htaccess</code> from <code>~/mysite.com/www/</code> to <code>~/public_html/</code> and updated the <code>$craftPath</code> variable to point to the proper directory, but now all I get is blank white pages, both on the frontend and the admin.</p>

<p>I deleted everything under the <code>craft/storage/runtime/cache/</code> and <code>craft/storage/runtime/logs/</code> directories, opened up an incognito Chrome window, and pointed it at <code>dev.mysite.com/admin</code> (which is now pointing and <code>.htaccess</code>-requesting <code>~/public_html/index.php?p=admin</code>, I believe...). I get redirected to <code>dev.mysite.com/admin/login</code>, but still end up with only a blank white page there.</p>

<p>The only <code>[error]</code> appearing in the log file is related to <code>testPathInfo</code>:</p>

<p><code>2016/06/08 21:52:06 [error] [application] Unable to determine if PATH_INFO is enabled on the server: [curl] 6: Couldn't resolve host 'dev.mysite.com' [url] http://dev.mysite.com/index.php/testPathInfo
</code></p>

<p>Halp?</p>

CC BY-SA 3.0
2016-06-10T19:15:53.637Z
If you enable [devMode](https://craftcms.com/docs/config-settings#devMode), do you get an error message instead of a blank, white page?
Brad Bell
CC BY-SA 3.0
2016-06-12T18:56:02.357Z
This _is_ with devMode... :-/
Sandwich
CC BY-SA 3.0
2016-06-18T00:00:13.920Z
If you can't get it sorted and want to send some credentials over to support@craftcms.com, we can take a stab at it from there and update here with any resolution.
Brad Bell
<error>
Blank white pages after moving index.php
# Blank white pages after moving index.php

(Asked by: username_0 on 2016-06-08)

I was developing a site on my server. Craft was living at `~/mysite.com/craft/`, the webroot was `~/mysite.com/www/`, and the URL was `dev.mysite.com`.

Now I want to deploy the site to `www.mysite.com`, but the host (HostGator) requires that the hosting account's primary domain (`www.mysite.com`) point to `~/public_html/`. Ok, fine. First, I changed the `dev` subdomain to point to `~/public_html/` instead of to `~/mysite.com/www/`. Then I moved the `index.php` and `.htaccess` from `~/mysite.com/www/` to `~/public_html/` and updated the `$craftPath` variable to point to the proper directory, but now all I get is blank white pages, both on the frontend and the admin.

I deleted everything under the `craft/storage/runtime/cache/` and `craft/storage/runtime/logs/` directories, opened up an incognito Chrome window, and pointed it at `dev.mysite.com/admin` (which is now pointing and `.htaccess`-requesting `~/public_html/index.php?p=admin`, I believe...). I get redirected to `dev.mysite.com/admin/login`, but still end up with only a blank white page there.

The only `[error]` appearing in the log file is related to `testPathInfo`:

`2016/06/08 21:52:06 [error] [application] Unable to determine if PATH_INFO is enabled on the server: [curl] 6: Couldn't resolve host 'dev.mysite.com' [url] http://dev.mysite.com/index.php/testPathInfo`

Halp?

**Tags:** error
> **Comments:**
> **username_1**: If you enable [devMode](https://craftcms.com/docs/config-settings#devMode), do you get an error message instead of a blank, white page?  
> **username_0**: This _is_ with devMode... :-/  
> **username_1**: If you can't get it sorted and want to send some credentials over to support@craftcms.com, we can take a stab at it from there and update here with any resolution.  

---

## 1 answers

### Answer by username_1 on 2016-06-20. Score: 3 | Accepted answer

Not sure the underlying cause, but clearing the `craft/storage/runtime/cache` folder that both sites shared caused both sites to start working as expected.

> **Comments:**
> **username_0**: Your folder clearing skills are clearly superior to mine. ;) Thanks, Brad!  
> **username_1**: I've got a college degree in clearing folders!  

---

