# New install Hostname sub domain working but main domain not working

**URL:** <https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190>\
**Category:** Install & Set-Up\
**Created:** [September 6, 2026, 1:49pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190 "2026-09-06T13:49:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 6, 2026, 1:49pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/1 "2026-09-06T13:49:33Z")

</div>

Just installed hestiacp for very first time, hostname sub domain working but main domain which hostname is using does not work and dns checker also says that there is no dns record?!

cannot install SSL on main domain … however subdomain is working!

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [September 6, 2026, 3:15pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/2 "2026-09-06T15:15:25Z")

</div>

how do you manage your dns?

---

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 6, 2026, 3:18pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/3 "2026-09-06T15:18:23Z")

</div>

DNS is managed by domain registrar, added child names also.. added new domains to hestiacp, they all are working fine, but only main domain of the hostname is not working

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [September 6, 2026, 5:54pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/4 "2026-09-06T17:54:09Z")

</div>

To help here is important to know the actual domain name.

---

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 6, 2026, 6:20pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/5 "2026-09-06T18:20:16Z")

</div>

domain name is [cookmywebsite.com](http://cookmywebsite.com)

---

<div class="post-metadata">

**Author:** ![Blats](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/blats/32/5038_2.png) [@Blats](https://forum.hestiacp.com/u/Blats)\
**Post date:** [September 6, 2026, 6:41pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/6 "2026-09-06T18:41:17Z")

</div>

Tell us exactly your steps, which is your registrar and what do you have in registrar. Some pictures will help us, from registrar and from your dns through the cp.

---

<div class="post-metadata">

**Author:** ![masterguru](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/masterguru/32/9874_2.png) [@masterguru](https://forum.hestiacp.com/u/masterguru)\
**Post date:** [September 6, 2026, 6:45pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/7 "2026-09-06T18:45:48Z")

</div>

You should start registering your nameservers correctly in your domain name registrar panel.

Look for options like **“Child Name Servers”** / **“Glue Records”** / **“Host Records”** to enter your name servers IP manually.

[server1.cookmywebsite.com](http://server1.cookmywebsite.com) and [server2.cookmywebsite.com](http://server2.cookmywebsite.com) are the servers that are set in your whois data, but they do not point to anywhere, surely because you forgot to set the “glue records” in your registrar.

Once done, maybe you should wait a little to try again.

---

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 6, 2026, 6:53pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/9 "2026-09-06T18:53:42Z")

</div>

> [@karamdhall](#):
>
> Child Name Servers are set properly, other domains added to hestiacp are working just fine.. even the hostname subdomain is working.. just this domain is not working .. i have done everything.. tried editing dns records, resolve cnf to 8.8.8.8 , everything imaginable.. still can’t decide what is going on with this specific domain name in hestiacp.. manually added A and NS also in hestiacp.. still didnt work

Child Name Servers are set properly, other domains added to hestiacp are working just fine.. even the hostname subdomain is working.. just this domain is not working .. i have done everything.. tried editing dns records, resolve cnf to 8.8.8.8 , everything imaginable.. still can’t decide what is going on with this specific domain name in hestiacp.. manually added A and NS also in hestiacp.. still didnt work

---

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 6, 2026, 6:55pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/10 "2026-09-06T18:55:50Z")

</div>

![IMG_2575](https://forum.hestiacp.com/uploads/default/original/2X/1/1339cd865a8d3003afaabfead0bfed41a3d9ba6c.jpeg)

child name servers set at registrar point towards ip and then here is screenshot of cp dns

---

<div class="post-metadata">

**Author:** ![masterguru](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/masterguru/32/9874_2.png) [@masterguru](https://forum.hestiacp.com/u/masterguru)\
**Post date:** [September 6, 2026, 6:59pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/11 "2026-09-06T18:59:37Z")

</div>

Maybe you set them recently and still not propagated in all root servers (and for this reason my “dig” command didn’t resolved them yet):

 ![image](https://forum.hestiacp.com/uploads/default/original/2X/1/1fbeb48e32a0eb92d11a1014799616fa5d650b39.png)

[https://www.whatsmydns.net/#NS/cookmywebsite.com](https://www.whatsmydns.net/#NS/cookmywebsite.com)

---

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 6, 2026, 7:02pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/12 "2026-09-06T19:02:43Z")

</div>

I’ve added this domain like a month ago.. but yesterday I had changed /etc/resolv.conf to 8.8.8.8 and 8.8.4.4 , maybe it’s that

---

<div class="post-metadata">

**Author:** ![Blats](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/blats/32/5038_2.png) [@Blats](https://forum.hestiacp.com/u/Blats)\
**Post date:** [September 6, 2026, 7:03pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/13 "2026-09-06T19:03:32Z")

</div>

Well you have to add A records for the ns this is what is missing.

record: ns1 type: A TTL: 14400 IP: yourip  
record: ns2 type: A TTL: 14400 IP: yourip

then restart your dns server.

---

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 6, 2026, 7:07pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/14 "2026-09-06T19:07:32Z")

</div>

> [@Blats](#):
>
> 14400

HOLY MOLY!! That resolved it 😃 Thanks mate!!!

---

<div class="post-metadata">

**Author:** ![Blats](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/blats/32/5038_2.png) [@Blats](https://forum.hestiacp.com/u/Blats)\
**Post date:** [September 6, 2026, 7:08pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/15 "2026-09-06T19:08:36Z")

</div>

No problem! Glad to hear your problem is solved!

---

<div class="post-metadata">

**Author:** ![masterguru](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/masterguru/32/9874_2.png) [@masterguru](https://forum.hestiacp.com/u/masterguru)\
**Post date:** [September 6, 2026, 7:14pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/16 "2026-09-06T19:14:50Z")

</div>

I think you should try changing your NS records from:

[ns1.cookmywebsite.com](http://ns1.cookmywebsite.com) to [server1.cookmywebsite.com](http://server1.cookmywebsite.com)

and

[ns2.cookmywebsite.com](http://ns2.cookmywebsite.com) to [server2.cookmywebsite.com](http://server2.cookmywebsite.com)

to be coherent with your Name Servers set in the Whois of your domain name. They already have the A record, so they should run well too. (well, if they are the child name servers that you set in your registrar panel).

---

<div class="post-metadata">

**Author:** ![karamdhall](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/karamdhall/32/10001_2.png) [@karamdhall](https://forum.hestiacp.com/u/karamdhall)\
**Post date:** [September 7, 2026, 7:27am UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/17 "2026-09-07T07:27:40Z")

</div>

That was the issue, that’s why I didn’t set A records to ns1 and ns2, thought same thing.. but somehow it didnt work with server1 and server2 NS records, checking the configuration files, hestiacp had set default hostname records for domain to ns1 and ns2 .. creating A records made it work smoothly!

---

<div class="post-metadata">

**Author:** ![durglewankelshteim](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/durglewankelshteim/32/9869_2.png) [@durglewankelshteim](https://forum.hestiacp.com/u/durglewankelshteim)\
**Post date:** [September 7, 2026, 5:33pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/18 "2026-09-07T17:33:37Z")

</div>

Um great, glad that got solved, ps welcome to the forum!

---

<div class="post-metadata">

**Author:** ![durglewankelshteim](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/durglewankelshteim/32/9869_2.png) [@durglewankelshteim](https://forum.hestiacp.com/u/durglewankelshteim)\
**Post date:** [September 7, 2026, 6:42pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/19 "2026-09-07T18:42:56Z")

</div>

Actually, your setup is incomplete. You need to login where you registered your domain and setup the nameservers and ip addresses there:

[http://www.publicdomainregistry.com](http://www.publicdomainregistry.com)

FAIL: The following nameservers are listed at your nameservers as nameservers for your domain, but are not listed at the parent nameservers (see RFC2181 5.4.1). You need to make sure that these nameservers are working.If they are not working ok, you may have problems!

> **[Success!](http://ns1.cookmywebsite.com)**

> **[Success!](http://ns2.cookmywebsite.com)**

ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:

[server1.cookmywebsite.com](http://server1.cookmywebsite.com)

[server2.cookmywebsite.com](http://server2.cookmywebsite.com)

This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example).

ns1 and ns2 are fine, you should just use those in your dns record:

NS records got from your nameservers listed at the parent NS are:

[ns2.cookmywebsite.com](http://ns2.cookmywebsite.com) [‘57.129.123.38’] [TTL=14400]  
[ns1.cookmywebsite.com](http://ns1.cookmywebsite.com) [‘57.129.123.38’] [TTL=14400]

---

<div class="post-metadata">

**Author:** ![durglewankelshteim](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/durglewankelshteim/32/9869_2.png) [@durglewankelshteim](https://forum.hestiacp.com/u/durglewankelshteim)\
**Post date:** [September 7, 2026, 6:45pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/20 "2026-09-07T18:45:08Z")

</div>

Also you might setup a cname for [www.cookmywebsite.com](http://www.cookmywebsite.com) pointing to [cookmywebsite.com](http://cookmywebsite.com) so that works as well.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [October 7, 2026, 6:45pm UTC](https://forum.hestiacp.com/t/new-install-hostname-sub-domain-working-but-main-domain-not-working/22190/21 "2026-10-07T18:45:50Z")

</div>

Closed on October 7, 2026, 6:45pm UTC

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