You are here

User Guide on Setting up Your Personal Homepage

  1. How to Apply?
  2. What is the URL of My Personal Webpage?
  3. How to Edit My Webpage?
  4. How to Send My Webpage to the Server?

1. How to Apply?

HKU staff/students can apply for a personal website on web.hku.hk.  To apply, please fill in CF149. Your personal website will be automatically created upon account creation.  

2. What is the URL of My Personal Webpage?

Your personal webpage is kept in a directory named "public_html" under your web.hku.hk account.  This is the directory where all your webpages and picture files are kept. If any webpages or picture files are saved outside this directory, they cannot be displayed by the browser.

To access your personal website, simply type the URL:

http://web.hku.hk/~UID/

You will find a test homepage created as below and you can update your webpage:

Test Home Page
 

3. How to Edit My Webpage? 

You can follow the self-learning tutorial for editng webpages at

http://www.hku.hk/local/its/training/html/

After you have edited your webpage, save the file as "index.html" under the "public_html" folder of your web.hku.hk account. The updated index.html file will replace the previous file in that directory. 

4. How to Upload My Webpage to the Server? 

You can upload your edited page to the web.hku.hk server using the FTP program. You have to connect to the HKU network (connect to HKUVPN if you are off campus) for sending files to your server account.