Subdomain nameservers

janixx

New member
Joined
Apr 18, 2007
Messages
3
I am so new to this, but I am trying to change the nameservers for one subdomain only so I can link it to my autoresponder company. Does anyone know how to do this please?
 
You don't change nameservers. You probably want to create a CNAME.

Am I correct in assuming that the autoresponder company is a different web site than the subdomain?

A CNAME would leave the subdomain in the address but show the content of the other site. Is that what you want?

so I can link it to my autoresponder company

That could mean several things. Tell us what you really want to happen.
 
Hello Floyd

Thank you for your response. I'm afraid that Autoresponders are totally new to me and I'm finding the setup less than a 'walk in the park'.

I am trying to setup the mechanism for a capture form to behave correctly and send a subscriber to the correct place quickly and politely. Part of this setup is to add a domain or a subdomain which is then used by Get Response to do just that.

This is the relevant sentence ..."Please enter an existing domain name or sub-domain name that you control and would like to move it to GetResponse."

I have then added a subdomain (mail.mydomain.com) and the next instruction is as follows:-

"To point your domain name email.pointandclickawebsite.com to Getresponse you need to change the nameservers to:

a.ns.domadd.getresponse.com
b.ns.domadd.getresponse.com

You can perform this change with your domain registration company. If you are not sure how to do this, please contact your domain registration company's support.

WARNING! Once moved, this sub-domain name will not be available for services other than GetResponse (i.e. websites or regular email will no longer work). Please move a sub-domain name that is NOT being used for another purpose!

Please note that your domain name is NOT active right away.

Due to the time delays required to process the domain registration and propagate the DNS information, your domain name will point at GetResponse in 72 hours from redirection.

Once the name servers for your domamin have been changed to the GetResponse name servers listed above, please confirm your intention to move email.pointandclickawebsite.com to GetResponse.

We will then perform a check to let you know if the domain name was propagated and correctly points to GetResponse. If that's true your domain will be activated for your current account and all other account in the current group."


If this is not possible or not sensible please let me know and I'll stick with the default.

Thanks

Jan
 
You cannot change nameservers for subdomains since there are not nameservers assigned to subdomains. You only assign nameservers to regular domains.

So you need to ask them what you should do with a subdomain such as assigning it an ip or cname record.
 
You cannot change nameservers for subdomains since there are not nameservers assigned to subdomains. You only assign nameservers to regular domains.
You actually can. That's what NS records are for.

In your main domain zone file you create two NS records for the subdomain, pointing to the nameservers you want to use.

Jeff
 
Say I was trying to do this. I would have the root nameservers point to my server for the domain and my server could then point the subdomain to yet another nameserver? I did not know that.

Ex.
Code:
newwebsite.com.         IN      NS      ns.newwebsite.com.
newwebsite.com.         IN      NS      ns2.newwebsite.com.

sub.newwebsite.com.     IN      NS      another1.nameserver.com.
sub.newwebsite.com.     IN      NS      another2.nameserver.com.

Something like that?
 
Where exactly do we put this code? In Apache or some other cofig file?
(Please excuse my ignorance. I'm new to Linux).





Say I was trying to do this. I would have the root nameservers point to my server for the domain and my server could then point the subdomain to yet another nameserver? I did not know that.

Ex.
Code:
newwebsite.com.         IN      NS      ns.newwebsite.com.
newwebsite.com.         IN      NS      ns2.newwebsite.com.

sub.newwebsite.com.     IN      NS      another1.nameserver.com.
sub.newwebsite.com.     IN      NS      another2.nameserver.com.

Something like that?
 
And pop-up a 3 years old thread is the best way to do the first post?

That is a dns configuration, totally not related to apache.

Regards
 
Where exactly do we put this code? In Apache or some other cofig file?
(Please excuse my ignorance. I'm new to Linux).
I strongly suggest that based on your response you're too new to Linux to trust yourself to change configuration files without risking breaking your server without repair.

Please do yourself a favor and buy and read a good Linux administration book, preferably based on the OS distribution you're running. Eat, sleep, and live the book for a while, until you can answer this sort of question yourself, so if you come across other questions while you're actually making file changes, you won't make the wrong choice.

Until then you should consider hiring an administrator to help you if it's in your budget. Seriously.

But to answer your question, the new lines go right underneath the current NS lines in the zone file for your main domain. You do that from a root login, and the file is generally located at /var/named/example.com.db, where you need to replace example.com with the domain name for which you need to create the nameserver for your subdomain. And then restart BIND.

This won't work unless you know exactly what you're doing. And if you make even a simple mistake, you could break your nameserver, certainly at least break domain resolution for that specific domain.

Jeff
 
old topic, sorry.
there are 2 shared hosting. on of my customers has a subdomain and wants to connect it to another host. i have nameservers of another shared hosting and i wanna know what should be done between these two to work correctly?

sharedhost1 wants to have: sub.domain.com

on sharedhost2 with these nameservers: ns1.sharedhost2.com, ns2.sharedhost2.com
 
In the zone file for domain.com you need two ns records for sub.domain.com; one should be ns1.sharedhost2.com, and the other should be ns2.sharedhost2.com.

Of course once you do that, you're responsible for making sure there's a zone file for sub.doman.com on both those nameservers.

Jeff
 
Back
Top