In short, the process to switch to another domain name works like this:
- Add the new domain name to your hosting account: How to add your own domain to your account
- You may want to add it as a Parked Domain, on your .ml domain, that way you don’t need to move any files. Only an option when using a custom domain, not for free subdomains: What does Subdomain / Addon Domain / Parked Domain mean
- If you didn’t add the domain as a parked domain, move the files from the directory of your .ml domain to the directory of your new domain.
- If you were using SSL certificates, you’ll also need to request and install a new SSL certificate for your new domain. SSL certificates are tied to domain names, so you cannot reuse the certificate for your .ml domain.
- Update your website configuration to use the new URL. What (or if) you need to do something depends on how your website is built. For WordPress it’s this: https://wordpress.org/documentation/article/changing-the-site-url/