Redirecionar para ip diferente via registro A / AAAA com subdominio

Tenho a necessidade de fazer o redirecionamento para ips diferentes de acordo com o subdominio

Ex:

DNS para domain,pt

TIPO NOME CONTEÚDO
A domain.pt 111.1111.11.11
A sub 222.2222.22,2

Tentei fazer isso mas não funciona, estou no plano free, testando as opções, podem ajudar.
Desde já agradeço

Many people do this. Can you describe what is happening?

Hello, Thanks for replying.
I have an Error 525

nmap -sT -O localhost
Starting Nmap 7.80 ( https://nmap.org ) at 2021-08-17 14:40 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000088s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
3306/tcp open mysql
Device type: general purpose

A 525 error is typically caused by a configuration issue in the origin web server when its SSL certificate is not properly set up. Review the suggestions in this Community Tip for advice & insight.