To get started with your DNS settings
First, you should to go to the website of the company you used to register your domain and login.
Then you need to find the settings for your domain and you should have an option to edit DNS. This will be where you need to add the DNS settings found bellow.
The DNS settings
Your DNS settings will be different if you are using a root domain or a subdomain.
What is a root domain?
The domain name without www or anything else before the domain.
example.com is a root domain
example.co.uk is a root domain
Everything else is a subdomain.
www.example.com is a subdomain
mastodon.example.co.uk is a subdomain
social.example.com is a subdomain
Click bellow to see the settings.
Thoughts on domains and Mastodon
Currently Mastodon doesn't support domain changes. Changing the domain/subdomain of an instance will partially break federation (remote connections to other instances that you are already connected to). So, think well before starting your instance on the domain/subdomain you want to use.
One thing to keep in mind, when you are thinking about what domain to use, is that your username (and the username of others that register in your instance) will become the username chosen + the instance domain/sudomain (eg: @firstname.lastname@example.org or @email@example.com).
Mastodon allows serving a different domain but that will require that you can setup a Webfinger and it's not that easy for most people.
Any questions or issues just email me: firstname.lastname@example.org
IPv6 support for root domains (optional)
Currently OVH doesn't offer portable IPv6. As such if you are using a root domain I cannot give you an IPv6 address that I can move to a different server without requiring DNS changes.
If your DNS provider allows for a CNAME (or ANAME or ALIAS) in root domains, you may use: vip.masto.host. and remove the A records.
I will keep vip.masto.host CNAME with the updated IPv6 addresses. That is the only option to get IPv6 support for instances installed using root domains and hosted in Masto.host.