Cloud Hetzner and Docker with NodeJS

I will post some screenshots in a couple of minutes.
I tried it yesterday and got it working in 5 minutes

Was it because I didn’t choose an DNS Zone?

That is how I generated the API:

Select the project or create a new one.

Click on Security:

Select API Tokens

Click on generate API Token and select Read & Write Permission

OK thanks
now i have to go out but later i will let you know if everything is ok

Perfect MH2ag
this was precisely the correct procedure
Now I have 3 problems to solve for a happy configuration:

  • Which DNS to enter to associate the domain
  • How to create SSL Certificates for https
  • How to create and manage domain email accounts
    Now I try to discover the procedures that I think may be of interest to all those who use Docker / Hetzner for the first time
1 Like

See:

Great Let’s Encrypt / Traefik, just what I was looking for.
And as for the Hetzner DNS, I found these.
I think they are the correct ones, I have replaced them and now I wait a few hours to check if they are the right ones

Schermata 2021-03-28 alle 17.07.41

As for Cloud Hetzner, we now only need to know how email accounts can be created and managed
I want to hope that it is possible and that it is free of charge

There is a guide for that.

https://community.hetzner.com/tutorials/setup-mailserver-with-mailcow

Thank You JonL
Wow also this problem solved
.
Instead I must have got it all wrong with regards to the DNS pointing to direct the domain to the Cloud Hetzner server.
The site page is unclear or perhaps my knowledge on the subject is insufficient.
Also because I’m used to a server providing me with 2 or 3 DNS + IPs to replace the existing ones
I asked for support but no one has spoken yet
I hope to solve this also because it is absolutely necessary for viewing the site

George
SSL Let’s Encript very nice and interesting, but unfortunately with Hetzner I can’t manage networks, completely different from Ocean
Is there a tutorial for Hetzner too?

Networks is something completely different - it is for private networks between your servers.

For using custom domains you just need to add your server up to the dns that is all.

And how to do that depends on where you have registered your domain. You can also do that with hetzner I think.

The domain in question is registered in Italy on Aruba Business.
Normally to point to an external server, I have to enter from 2 to 4 DNS (with text and IP) that are provided by the destination server (as an example Interserver provides 3 DNS / IP. In this case all the DNS of Aruba Business are deactivated
Alternatively, the IP addresses of the various records can be changed
The problem is that with Hetzner I can’t find the DNS to replace and I don’t know how to do it, also because I risk making a mistake

Hi,
I tink you are referring to nameservers. You should make the change at Aruba. Create a A pointer at Aruba under the domain you like. Then enter the IP of the server you want it to point at.

The problem is that previously the 3 IP pointing DNSs were replaced to point to Interserver and I should replace them with Htzner’s ones. Otherwise I would have to recreate the original DNS of the domain maintainer and then modify

Then you should create the A record at Interserver. Is the 3 IP you changes nameserver records?
Like do they have NS in the name?

Is it possible for you to make some screen shots? You can blur out the sensitive information like IP:s and so.

But I have to exclude Interserver otherwise it becomes a vicious circle, because the domain is on Aruba Business and must point to Hetzner
As mentioned, there are usually 3 addresses (with relative IP) to enter, but I can’t find them in Hetzner

I don’t remember how I found these, but they are wrong and don’t work
Schermata 2021-03-28 alle 17.07.41

You don’t have to use hetzner domain services.

Just use your existing domain registrar and its DNS services and just point jour domain A record to the IP of the hetzner server - that is all!

Yes, this is the name servers. You should not need to change these. You need to log in to interserver and add/edit the DNS records of the domain and add the IP of your server.

You are mixing up nameservers and DNS records.

  1. If you own a domain name it is registered with a registrar.
  2. You then point the domain name to your DNS provider via NS (nameserver) records.
  3. You point the domain to your services via the DNS provider.