User Guide/Web Hosting
This information contained may not be entirely accurate
All accounts include hosting with a web address at:
user is the account name.
Group accounts may also request a doc services/vhost for another domain (e.g., group.berkeley.edu).
Upload files to your web space the same way you doc services/shell (typically SFTP if used remotely). The only
difference is that files for your web space are placed in your
The web server runs Apache 2.4 with FastCGI (mod_fcgid), suEXEC, and suPHP.
Access and error logs are accessible in
/opt/httpd using doc
The web server itself runs as a dedicated user. If your .htaccess file is not
chmod 644), the web server will return the error “401
PHP/CGI/FastCGI scripts are executed as your user, so they do not need to be
world-readable. If they contain sensitive information (such as database
passwords), you should make them private (e.g.,
chmod 600 or
Both individual hosting and student group hosting are done entirely over HTTPS.
- PHP 5.6
- Perl 5.20.2
- Python 2.7, and 3.4; Django 1.7.7; Flask 0.10.1
- Ruby 2.1.5; Rails 4.1.8
Other flavors of the day may work but are not currently supported. We may be able to install additional packages on request, but will generally advise you to use alternatives instead (such as installing in a virtualenv or inside your home directory).
public_html directory is missing, how do I fix that?
just recreate it