Standard Edition: Directory Structure

From Campus Web Server Help

Jump to: navigation, search

Contents

Content Directories

Your home directory is not the place to put web content. In fact, most users don't even have a home directory provisioned at this point (their default directory is /usr/www). Each account will be set up with three principal directories for content ($username is the hosting account username):

  • /usr/www/dev/$username
  • /usr/www/stage/$username
  • /usr/www/prod/$username

Each represents a different environment. Your content should reside within your account's public_html directory of the respective environment (dev, stage, or prod).

Important! You should learn to set strict file and directory permissions!

Index Page Names

Acceptable names for your default, index (i.e. home) page are, in priority order:

  • index.php
  • home.html
  • index.html
  • index.html.var
  • index.htm
  • home.htm
  • Home.html
  • Home.htm
  • home.wml

You should have only one document by only one of these names in your public_html directory. If you have more than one, they are used in the order above. For example, if you have a document by the name home.html and home.htm in your public_html directory, home.html will be used as the default.

Naming Documents and Other Files

All HTML documents must end with the extension .html or .htm. PHP scripts should have a .php extension. The system is case-sensitive. So, be sure to pay attention to the case when referencing files.

Viewing and Referring to Your Page

Each of the three site environments have a different URL. Production, staging, and development environments are accessed with the following URLs, respectively:

  • http://$yourdomain
  • http://staging.$yourdomain.uga.edu
  • http://dev.$yourdomain.uga.edu

Each also supports SSL (https://), using a valid wildcard certificate; this is not enabled by default; so, just submit a ticket to the EITS Help Desk ticket if you want SSL. The certificate matches *.uga.edu. Domains such as other.domain.uga.edu would not be compatible with this certificate. Hence, the development and staging environments will present a certificate mismatch error. Contact the EITS Help Desk if you need a certificate for an incompatible domain.

If your domain is not within uga.edu, you should create cnames to your content based on the server list describe here.

Personal tools