Subdomains not working

If I add domains like site.ru then everything works. If sub.site.ru then the site is not found.

Connection attempt failed
An error occurred while connecting to sub.site.ru.

How to fix ? Hesita

  • Hestia Control Panel v1.8.12
  • Debian 12.7 (x86_64)
    rus
    Не работают поддомены, уже все поперепробовал - не работает. Причем любой домен 2 уровня работает на ура, а третьего не работает.Что делатЬ ?

Does the DNS exists ?

Yes off course :slight_smile:

Come on, brother, add some more information. At least you can paste your real domain here with SS and all.

1 Like

:slight_smile:
krasfond.ru
museum.krasfond.ru
|@ |A |193.227.240.166|
|www |A |193.227.240.166|
|museum |A |192.227.240.166|
screens

it’s dns issue, I have checked it via DNS lookup for your domains.

1 Like

As you can see it’s returning empty header, you need to set up the DNS for the subdomain and ensure it points to your server’s IP address. I recommend creating a wildcard subdomain, which will direct all subdomains to your primary IP address.

1 Like

yup,

Type: A
Name: *.@ OR *
Value: Hestia IP

DNS record doesn’t work on all servers …

That might be the issue

Hi everyone.
Do I understand correctly that I should do this in Hestia? I configured everything there. I understand that this is some kind of system problem. Perhaps something was not installed, or cannot be registered in the configuration.
On external servers, I registered A records. The domain krasfond.ru works, if I create the domain krasfond2.ru, it will also work. It is the subdomains that do not work.
In version 1.6, everything worked well. I decided to update the server, updated the operating system to 12 Debian and installed the new Hestia.

Did you realize that the ip for musem is different? DNS resolves to 192.227.240.166 but seems it should be 193.227.240.166

1 Like

What an idiot I am. :frowning: Guys, thanks for opening my eyes. And I’m sitting here reading configs, wondering where I went wrong.
Thanks, guys.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.