First, you should own a domain - that is, have it registered with a domain registrar. Joyent does not provide a domain registrar service, so you'll need to register a domain first with a 3rd party provider. One you have a registered domain, do the following:
http://... or even www.) and a brief description in the Description field.SSH admin@xxxxxxxx.fb.joyent.us
/opt/local/etc/httpd/virtualhosts/sudo svcadm restart apache
SSH admin@xxxxxxxx.fb.joyent.us
/opt/local/etc/httpd/virtualhosts/ServerName and ServerAlias to the new domain name(s)sudo svcadm restart apache
SSH admin@xxxxxxxx.fb.joyent.us
/opt/local/etc/httpd/virtualhosts/sudo svcadm restart apache