|
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 contact ithelp@hku.hk 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.
Note: For
accounts created before year 2000, you must create your own website by
typing the command "createhtml" at the system prompt after you login the Unix
system via the telnet
program.
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 a HKU
crest, "Hello! I am <UID>!", and a mail link "Please contact
me".
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.
How do I Write My First
Homepage?
The Computer
Centre offers regular training courses on how to write a webpage. Click
the link to list the scheduled courses at http://www.hku.hk/local/cc/training/courses.htm
The "Basic HTML Editing" course is for writing webpages.
Register for this course in the HKU
Portal => Computer Services => Services => Workshop and Courses.
You can also follow the
self-learning tutorial for writing webpages
at
http://www.hku.hk/local/cc/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.
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 (HKUVPN) for
sending files to your server account. When using the HKU network, your
network password is required.
|