Changing web server

I’d like to know if it is possible to change the domain name to analyze, i.e. if I install it on a domain called example.com can I later change it to example.com.au