Nginx failed? trying to migrate to own Domain name

My YunoHost server

Hardware: old computer, Lenovo ideacenter
YunoHost version:
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my problem

I was trying to transfer my server from yunohost DynDNS domain to my own domain name but I seem to have broken things. Neither DynDNS or new domain work. Nginx is failed?

what I did…
I bought a domain name from gandi:
I wanted to replace my * name.
I created Let’s Encrypt certificates for new domain
It was sort of working so I deleted old domain but then Nginx had trouble.

active: failed
active_at: 1970-01-01 08:00:00
description: serves or provides access to all the websites hosted on your server
loaded: enabled
service_file_path: /lib/systemd/system/nginx.service
status: failed

in web browser: says “Secure Connection Failed” says “The connection was reset”

SSH is working so I can get into my Yunohost.

Traceback (most recent call last):
  File "/usr/lib/moulinette/yunohost/", line 660, in tools_diagnosis
    diagnosis['nginx'] = check_output("nginx -t").strip().split("\n")
  File "/usr/lib/python2.7/dist-packages/moulinette/utils/", line 29, in check_output
    return subprocess.check_output(args, stderr=stderr, shell=shell, **kwargs)
  File "/usr/lib/python2.7/", line 219, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command 'nginx -t' returned non-zero exit status 1
Warning: Unable to check 'nginx -t', exception: Command 'nginx -t' returned non-zero exit status 1

*** also, at this point i am wondering, is it easier to just reinstall yunohost from scratch and setup with new domain name?

thank you in advance for listening, and hopefully pointing me in the right direction

i fixed the problem.

i know nothing about Nginx so i deleted the Writefreely app and it ‘fixed’ the problem.