You are here

User Guide on Launching your Personal Homepage

  1. How Can I have a Personal Website?
  2. Where is my Personal Webpage Stored?
  3. How do I Write My First Homepage?
  4. How do I send my homepage to the server?

1. How Can I have a Personal Website?

Any HKU staff member or student can have a personal website on the web.hku.hk server.  Since the personal webpages are stored on the web.hku.hk server, you must have an account on this server. 

Please fill in CF-149 (access the form via http://www.its.hku.hk/forms) to apply for it.

When you create your account on the web.hku.hk system, your personal website is automatically created in your account by the system. 

2. Where is my Personal Webpage Stored?

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

To access your personal website, simply type in the URL:

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

If this is the first time you are creating your website, you will find a test homepage in there with an HKU crest, "Hello! I am <UID>!", and a mail link "Please contact me".

Test Home Page

If you see this pre-created webpage in your personal website, you know your personal website and the default webpage named "index.html" have been created for you.

3. How do I Write My First Homepage? 

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

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

After you have composed your first homepage, then save this file as "index.html" and place this file in the "public_html" folder in your web.hku.hk account. Your own index.html file will replace the previous file in that directory. 

4. How do I send my homepage to the server? 

You can send your homepage to the web.hku.hk server using the FTP program. You must use the HKU network (connect to HKUVPN if you are off campus) for sending files to your server account.