Personal domain

Can I get my own web hostname?

Yes.

All CSE accounts get an automatic virtual hostname on our web servers: https://username.web.cse.unsw.edu.au/

for example, https://z1234567.web.cse.unsw.edu.au/ redirects to https://cgi.cse.unsw.edu.au/~z1234567/

It runs on the CGI servers, so you can put PHP and other CGI Scripts there.

To be clear, this isn't a full virtualhost - you can't run an appserver this way, for instance - but it does give you prettier URLs for hosted content.

Redirecting web requests

Important Notes

  • If you're POST forms, then you will need to make sure that the form uses the right domain name - POST data is lost on redirect
  • If you're using HTTPS, you need to change http to https.

How does it work?

See the mod rewrite docs

See Also

Last edited by meicheng 25/10/2022

Tags for this page:

domain, web, htaccess