How to change the Main Domain?

I need to change my main domain, How shoul I do it?
tnx