• Disabling PageSpeed

    Overview In rare certain situations, PageSpeed may make debugging a staging site more difficult or interfere with custom JavaScript that manipulates the DOM in a HEAD tag. Although likely unnecessary to disable, PageSpeed may be disabled on your site with a simple htaccess directive: Create a file named .htaccess in…

  • Enabling Google Analytics support

    Overview Google Analytics is a free web analytics application provided by Google, including SEO recommendations and live site traffic. Sample Google Analytics dashboard Setting up GA Google Analytics can be enabled on newer, v5+ platforms using two lines in a .htaccess file. Visit Google Analytics to create a profile for the domain Once the profile…

  • Displaying directory contents

    If you would like for the Web server to generate a listing of all contents in a given directory, then create a file named .htaccess with the following line: Options +Indexes You will also need to remove all directory index files (e.g. index.html, index.php, index.htm, index.*) from the target directory….

  • Switching users

    Overview Newer platforms, v6+ platforms specifically, permit switching users from the account user from the terminal. Once switched to the user, you assume the permission rights as this user, including the ability to remove files. Usage Use su to switch users from the main user. You will not be required…

  • Unable to login using public key authentication

    Overview Ensure correct permissions on ~/.ssh/ are 700 (u: rwx, g: -, o: -) and ~/.ssh/authorized_keys is 600 (u: rw-, g: -, o: -). Provided the permissions are correct, then make sure your public key is listed in the authorized_keys file.   See Also Permission overview

  • Elevating privileges with sudo

    Overview Newer platforms, v6+, provide limited sudo support that allows you to remove, copy, and change ownership of files with elevated permissions (root). Depending upon the platform version, either  rm (v6) or rm, cp, and chown (v6.5+) commands are available. Usage sudo follows a general syntax: sudo command arguments. Certain commands…

  • Terminal access times out

    Overview Attempting to access terminal remotely will result in a non-responsive server often falsely indicating the server is down. Cause All servers use a 3-5-10 brute-force deterrent mechanism: three invalid logins in a five minute window results in a ten minute block. After ten minutes the block automatically expires and you…

  • Listening on ports

    Overview Some applications require persistence to continue to run after a page view has concluded. Node.js or other backend socket/server pairs connect a front-end process, like a web page view, with a backend process such as data crunching. For such circumstances, clients with Developer+ packages may run daemons necessary for their web…

  • Is terminal access available?

    Overview This may also be viewed within the control panel under Account > Summary > Dev if enabled, then terminal access is also enabled for the account. If [ssh] => embed_terminal is enabled in config.ini, then a standalone terminal will also be accessible within the control panel. See Also Accessing terminal

  • Accessing terminal

    Overview Your terminal is a command-line interface to your hosting account on the server. It provides a quick, efficient means to make permission changes, edit files, and even run services like MongoDB and node.js. Terminal access is provided with certain qualified packages. Logging In Terminal access follows general login guidelines: Login consists…