UC San Diego SearchMenu

Setting Up a Personal Website

UC San Diego students are typically given 200MB of server space to publish a personal website.

First, you will need to create the "public_html" directory. The easiest way to create the required "public_html" directory is to use the Home Page Setup Tool. You will be asked to identify the ACMS server that supports your account. Some students have access to more than one server as shown by the Account Lookup tool, but for most students the server you must select is acsweb.ucsd.edu. This server supports both HTML 5 and PHP 5.1

1. Create your first web file

You may create webfiles on acsweb.ucsd.edu as either HTML (HyperText Markup Language) or PHP (PHP: Hypertext Preprocessor). You will want to name your first file either index.html or index.php depending on how you are coding the document. There are various online tutorials for both HTML and PHP if you would like to learn more about coding in these languages. Please remember that all activities on ACMS systems, including setting up personal Web sites, are subject to the ACMS Acceptable Use PoliciesIt is your responsibility to ensure that you do not violate Copyright Laws.

2. Put files in your public_html directory

There are many ways to do this.

  • You can do this at an ACMS PC lab computer running Windows 7 by opening the "Class Resources" folder, double-clicking on the "home directory" for the server you want to use, and dragging the files into the public_html folder.
  • You can use use your computer and an SFTP program to transfer the files.
  • There are other methods of transfering files, such as SCP through a Unix shell, or emailing the documents to your UC San Diego email address and then save them out to files under your home directory on the server.

3. Set file permissions to make your files viewable

An easy way do this is to use Home Page Setup Tool. Notice the option, "Allow others to see documents in public_html."

4. See your Web site in a browser

To test your Web site start a browser and give it a URL of this form:

http://acsweb.ucsd.edu/~username/

This will cause the server to look in your public_html directory and display your index.html file if you have one.

For example, for the user jsmith on server acsweb.ucsd.edu the URL would be:

http://acsweb.ucsd.edu/~jsmith/

Examples for other files beneath public_html would be:

http://acsweb.ucsd.edu/~jsmith/sports.html
http://acsweb.ucsd.edu/~jsmith/pictures/me.gif