So now my domain at ddyms.space is on the edge of expire but the renewal cost is pretty high the 1st year had some discount or so, so i resort to moving to new domain that cheaper and the renewal cost is sustainable. But as i already setup it before and i had no notes of it, it become cumbersome. Thus here i'm writing notes due my stupidity.

Me-blog-cover-Step-by-Step-Domain-Migration-Guide-feb-2017

First I think this will be easy, my simple thought, roughly will be like this:

new-domain-plan

But, well no, there is other intrinsic things that need to explore or forgotten, so here My ToDo Lists to migrating a domain:

  1. Domain activation part

    • Purchase a new domain.
    • Change the domain dns to cloudflare as im gonna put cloudflare tunnel on it
    • Disable domain transfer protection, or DNSSEC.
    • Add domain to cloudflare
    • When adding domain to cloudflare you will be shown bunch of options, just select free packet on bottom.
    • Let the domain propagate, you will get notification after domain is active
  2. Sengrid part, as email sender im using sendgrid service. As some site need email notification like linkace backup, duplicati backup, mastodon, and etc.

    • Add sender domain verification
    • You can choose between domain masking or not, with domain masking your sender will become @domain.sample rather than sendgrid.net
    • Add the CNAME listed by sendgrid to cloudflare domain dashboard, disable the proxy status.
    • Press verify
  3. The blog, i'm using grav settings

    • after changing domain, i had no idea how grav manage site url
    • grav docs
    • Afer reading the link, I'm checking the system.yaml file, exact path is /web/root/folder/user/config/system.yaml
    • Update static image reference at /var/www/html/user/themes/darkquark/templates/partials/footer.html.twig
  4. Updated applications, if the application is containerized restart/recreate container

    • LLDAP Only change email domain name, after update the lldap config test with /app/lldap send_test_email -c /data/lldap_config.toml --to mail-destination
    • LinkAce Only change email domain name.
    • Duplicati Only change email domain name.
    • Qbittorrent Only change email domain name.
    • Heimdall Update heimdall search bar url to new domain, and update heimdall url on bookmarks
    • Reactive resume Update PUBLIC_URL and PUBLIC_SERVER_URL env to new domain, update google oauth to authorize new domain.
    • Nextcloud Update email domain name, update 'overwrite.cli.url' => 'https://nextcloud.domain.sample',, and update trust array add/replace the new domain
    • Mastodon After a year self hosted mastodon, i feel that it can't be hosted on limited network connectivity, so im migrate to mastodon.social
    • Dockerhub Update pipeline status image, maybe i should remove this one
  5. Updating cloudflare tunnel from ddyms.space to ddyms.my.id, thanksfully many app just fine with domain change.

  6. Issue risen

    • SSL_ERROR_NO_CYPHER_OVERLAP, this mean there is an issue of propagation, check again, apparently the propagate fail? stuck after 4hrs or so.

    source:

    • https://domain.me/wp-content/uploads/2017/02/Me-blog-cover-Step-by-Step-Domain-Migration-Guide-feb-2017.jpg

Previous Post Next Post

Add a comment