When signing up for mastohost with an existing domain I own (whatever.com) the signup process forced me to use a subdomain (something.whatever.com). I don’t currently have a website on that root domain, but I would like to one day. Do I really have to have a long three part domain? Is there a way around it or is this a limitation of mastodon/mastohost?

  • cromarty79@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Hey all. I’ve followed the instructions on Masto.Host and set up an instance on a subdomain (let’s say it’s m.Cromarty.com - it isn’t) but have usernames set without the subdomain (i.e. @cromarty@cromarty.com not @cromarty@m.Cromarty.com). Everything seems to be working fine, and in my app of choice I’m not seeing the subdomain. For some reason my handle is showing as @cromarty@m.cromarty.com in certain places, for example the Mastodon iOS app and Ivory. Is this to be expected or is there an additional step that I have missed in order to see @cromarty@cromarty.com everywhere? Any help appreciated!

  • Aggravating-Salad441@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Sorry for all the comments you’re getting. You can absolutely do what you’re trying to do.

    The technical answer is you first have to setup a subdomain. Then, using webfinger, you can point that subdomain back to your primary domain. This will make your Mastodon server appear as your primary domain even though your website / email is already parked there.

    It’s explained in this blog post on Masto.host. I had someone else set this up as I’m not technical, but it absolutely works.

    https://masto.host/mastodon-usernames-different-from-the-domain-used-for-installation/

    • thejoymonger@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Oh great, documented right on mastohost. I’ll give that a go this weekend.

      Yeah, I don’t really why this caused so much confusion. Seems like having a better domain is one of the first things people would want to do.

  • kamtib@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Be warned though since the user account is tied with the domain and the domain will tied with the secret, so whenever you have a problem with it, and destroy it without tootctl self destruct.

    It can become funky, which means that the other instances that were federated with it cannot federated with the new one.

    The command is documented here https://docs.joinmastodon.org/admin/tootctl/#self-destruct

  • IMTrick@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I don’t currently have a website on that root domain, but I would like to one day. Do I really have to have a long three part domain?

    It sounds like you’re saying you don’t currently have a website at “whatever.com,” but would like to at some point. That being the case, I’m not sure why you would not want put Mastodon on a subdomain (for example, on “mastodon.whatever.com,” rather than on “whatever.com”). If you don’t, you’re going to run into some fairly major problems when you have to move the Mastodon instance to a new URL.