The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> DNS
|
Domain And Subdomain. Both Have Different Ips, Servers And Dns Servers
Discuss Domain And Subdomain. Both Have Different Ips, Servers And Dns Servers in the DNS forum on Dev Shed. Domain And Subdomain. Both Have Different Ips, Servers And Dns Servers DNS forum discussing issues, servers, and configurations. The Domain Name System (DNS) is what the Internet uses to translate website names into IP addresses.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

July 5th, 2012, 01:07 PM
|
|
Registered User
|
|
Join Date: Jul 2012
Posts: 3
Time spent in forums: 28 m 17 sec
Reputation Power: 0
|
|
|
Domain And Subdomain. Both Have Different Ips, Servers And Dns Servers
Tell me if this is ok!
1. I register newdomain.com at godaddy
2. I set this domain's nameservers to whatever the nameservers of newdomain.com is lets say 34.32.45.34
3. I host newdomain.com on a webserver 34.32.45.34 which also acts as a dns, same ip 34.32.45.34, (so both the webserver and dns are the same ip and server)
4. Now on a completely different server I host mysubdomain.newdomain.com having an ip of 56.33.22.33, it also acts as a dns with the same ip 56.33.22.33
5. In godaddy I register a separate domain newdomainnumber2.com and assign 56.33.22.33 as its nameserver. So now this new nameserver is interconnected with godaddy's network of nameservers, but is in no way connected to the first domain newdomain.com, except it hosts the subdomain mysubdomain.newdomain.com
My question
Will everyone on the internet be able to find mysubdomain.newdomain.com or do I need to do more?
|

July 5th, 2012, 01:22 PM
|
 |
Wiser? Not exactly.
|
|
Join Date: May 2001
Location: Bonita Springs, FL
|
|
You need to setup an entry on the DNS server 34.32.45.34 for the subdomain which points to it's IP of 56.33.22.33.
So in the zone file for newdomain.com you would have an entry like:
Code:
mysubdomain IN A 56.33.22.33.
|

July 5th, 2012, 01:39 PM
|
|
Registered User
|
|
Join Date: Jul 2012
Posts: 3
Time spent in forums: 28 m 17 sec
Reputation Power: 0
|
|
|
Is there anything else I can do? Perhaps in the godaddy account make an entry for the subdomain to point to a different nameserver?
The reason Im asking is because this is for seo purposes and I don't google to find out. I guess they will one way or the other, but perhaps there are other ways?
|

July 5th, 2012, 03:33 PM
|
 |
Wiser? Not exactly.
|
|
Join Date: May 2001
Location: Bonita Springs, FL
|
|
Quote: | Originally Posted by dallas34 Is there anything else I can do? Perhaps in the godaddy account make an entry for the subdomain to point to a different nameserver? |
As far as I know, there is no way to associate a nameserver with a subdomain, only with the main level domain name.
Google probably won't care about whether the two sites use the same nameserver or even host. Tons of sites use the same host/nameserver.
|

July 5th, 2012, 05:25 PM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 10
Time spent in forums: 1 h 12 m 3 sec
Reputation Power: 0
|
|
|
Reply
Every domain has individual IPs and servers.
|

July 5th, 2012, 08:20 PM
|
|
|
|
You can add NS records in the main domain DNS pointing to another DNS server to handle DNS for a subdomain. GoDaddy has a faq article about setting this up somewhere in their knowledgebase.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
|

July 6th, 2012, 06:41 AM
|
|
Registered User
|
|
Join Date: Jul 2012
Posts: 3
Time spent in forums: 28 m 17 sec
Reputation Power: 0
|
|
|
Thanks for all the replies gentlemen.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|