Can I use different nameservers for different subdomains?
Yes, You can.
you will have to add the NS records for the subdomain in the DNS Manager for your TLD (Top Level Domain).
For Example: In DNS Manager for TLD add NS records Like.
bla.example.com. 1799 IN NS ns1.subhosting.org.
bla.example.com. 1799 IN NS ns3.subhosting.org.
bla.example.com. 1799 IN NS ns2.subhosting.org.
Related videos on Youtube
RocketNuts
Updated on September 18, 2022Comments
-
RocketNuts over 1 year
Suppose I have
example.com
and the nameserver I'm using is the one from the hosting server where I'm hosting the main site, saymainhosting.com
.Now suppose I add a new subdomain e.g.
bla.example.com
which I'm hosting somewhere else, say atsubhosting.org
.This typically requires editting the DNS settings at
mainhosting.com
, adding an A record forbla.example.com
to resolve to the webserver's IP address atsubhosting.org
.Is it also possible to set things up so
bla.example.com
(but only the subdomain, not the entireexample.com
domain) is usingsubhosting.org
's nameserver instead? So whenever the IP address forsubhosting.org
's webserverver changes, it can be updated automatically.I mean the webhoster at
subhosting.org
can typically update any relevant DNS settings for their own webservers automatically, but obviously this doesn't work when I'm using an external nameserver (and thus the DNS records are configured externally). -
MrWhite almost 8 yearsWhat's stopping you from creating NS records for the subdomain
bla
in the DNS zone atmainhosting.com
that point tosubhosting.com
s nameservers (apart from the fact that many high-level DNS control panels don't actually allow you to do this)? See this answer on ServerFault.