Is it possible to have a "parked" domain on Yunohost?

, ,

Hi, I have a question about DNS, which I don’t think has its place in Support, but might still be relevant to new Yunohost people.


I have a new domain (from namecheap) that I’ve added to my Yunohost’s domain list and has its DNS and SSL configured, without any apps installed on it. Currently, redirects to my default domain, with all my Yunohost apps.

However, I’m not yet ready to expose this new domain to the internet, so I’d like to park it somehow (show a blank page or an error at or * while also managing emails to and from admin/ in my Yunohost Rainloop app.

Solutions tried

After reading this Yunohost discussion and experimenting for way too long, I managed to get the following DNS config working:

  • add both and as domains on Yunohost
  • mail 3600 IN A [yunohost IPv4]
  • mail 3600 in AAAA [yunohost IPv6]
  • mail 3600 IN TXT "v=spf1 a mx -all"
  • mail._domainkey 3600 IN TXT "v=DKIM1; h=sha256; k=rsa; p=[...]"
  • _dmarc 3600 IN TXT "v=DMARC1; p=none"
  • @ 3600 IN MX 10
  • mail 3600 IN CAA 128 issue "" (I don’t think this does anything) is now showing an error and mails to are delivered, which is what I wanted.

But I was wondering about the following:

  • returns Did Not Connect: Potential Security Issue and a certificate signed by my default domain: is it possible to have it return just an error page without a certificate that points to my default domain?
  • will domains sent from go to spam?
  • the diagnosis finds errors everywhere, as expected, should I assume that I won’t be able to have a letsencrypt SSL?
  • if I wanted to display “under construction” or similar on, could I do it through Yunohost?

I guess you are overthinking it. Setup this domain like any other domain, especially if you want to display a “Under construction page”.

  1. Make sure the DNS configuration is complete. (BTW the Let’s Encrypt bit is for the SSL certificates)
  2. Make sure such certificates are generated. If it fails, you should share your diagnosis results. But I guess some DNS propagation was needed. You can also try from the command line with the --no-checks flag.
  3. If DNS is set up correctly, mails should not go to spam. You can use mail-checker website to see what’s wrong. To receive them make sure your admin user has all email addresses you want listed in its profile.
  4. An “Under construction” can be made with a Custom Webapp. Upload your custom HTML file there.

But again, if something fails, we need logs. :innocent:


I am most definitely overthinking it, and your last point is the solution I needed! I searched for something like that in the app directory before starting my unnecessarily complicated experiments, but obviously was not looking for the right keywords.

At least I learned quite a lot about DNS yesterday.

Thanks @tituspijean :slight_smile:!