If the server allows it, you can access your site while being built via a temp URL which is http://ServerIP/~user/

Overhaulics Dev server allows this while the Live server does not. If you visit your temp URL and you get an error stating “Not Allowed”, this means the server is not setup for temp URLs.

Allow server to show temp URLs:

In order to access the site via the temp URL you need to activate mod_userdir

Activate mod_userdir

  1. In WHM navigate to Apache mod_userdir Tweak.
  2. Select the Enable mod_userdir Protection
  3. Check the box under Exclude Protection for DefaultHost (nobody)


If when you try to enable mod_userdir you get a warning that mod_ruid2, mod_cgi are not supported:

  1. In WHM navigate to EasyApache 4
  2. Disable mod_cgi, mod_ruid2
  3. Enable mod_suphp
  4. Save as a new profile and Provision it.
  5. Check existing php configuration in Putty/Console
    • /usr/local/cpanel/bin/rebuild_phpconf –current
  6. Update the existing php version default and old versions to suphp
    • /usr/local/cpanel/bin/rebuild_phpconf –default=ea-php70 –ea-php55=suphp
      • Sets default PHP to 7.0 and 5.5 to use mod_suphp instead of mod_cgi


If the index.php file is downloading instead of loading:

  1. Open the sites .htaccess file via FileZilla
  2. Delete the AddHandler application line.
    • Ex. AddHandler application/x-httpd-php70 .php .php5 .php4 .php3
  3. Upload the changed file.
in Server

Related Articles