i have a situation i hope someone can help me with, +rep to anyone who can. what i want to do is point a subdomain hosted on one company to a subdomain hosted with another company, and i want to do this using cnames and or A records. here's my situation: i have a premium shared hosting account with godaddy and a dedicated ip. i have another domain hosted with directnic which uses their directdns services for handling all cnames and a records (there's no hosting package). i generally use the directnic site to setup cnames for hosting blogsplot blogs. however, i'd like to setup a subdomain on the godaddy account and use that to host a subdomain from the directnic account. example: subdomain.directnicaccount.com will be hosted on subdomain.godaddyaccount.com. i've tried setting up cname records with directnic that point to the subdomain on godaddy, but it just points to the top level directory, not the subdomain. can you tell me what cname records and/or A records i need to set up to do this, and if i'll need to setup cname records and/or A records with godaddy also? i also have one more question along the same lines, +karma to anyone who can help me. with the godaddy account i have multiple domains hosted on the same hosting account. i would like to be able to use directnic to point a directnic subdomain to one of these domains. ex: subdomain.directnicaccount.com points to www.godaddyaccount.com. i've tried setting up a cname to point to the godaddy account, but what it does is points to the main domain, not the other domain hosted with this account. please help
Couple of ways to do it, simplest is: Setup cname on directnic for subdomain.directnicaccount.com and point it to subdomain.godaddy.com. You shouldnt have to worry about an A name as long as it's setup on the godaddy account, which it should be if you've already set up the subdomain. Example: test.facebook99.com. 14400 IN CNAME google.com. test.facebook99.com redirects to google.com, or anything else I specify. That's live btw if you want to see it working now from that exact line.
well this is the problem, any cname i setup for a subdomain at godaddy goes to the directory root instead of the subdomain. is there a way to set things up in a way where it doesn't go to the root directory? like in your google example, facebook99.com goes to google's root directory.
Where the subdomain ends up on the web server is a function of the web server configuration, not the DNS. So, somewhere in your GoDaddy hosting control panel you need to find a setting that allows you to create subdomains. When you create the subdomain in your hosting control panel it will either point it at a subdirectory or ask you where you would like the root directory of that subdomain to be. Keep in mind though that generally speaking it will be under the server root ... something like this: mydomain.com -> root = /public_html sub1.mydomain.com -> root = /public_html/sub1 sub2.mydomain.com -> root = /public_html/sub2 So whilst you can define a different location for the root directory of your subdomain(s), the root directory of the subdomain(s) will most likely be a subdirectory of the root domain. So, the 2 steps to achieve your goal: 1. Create the CNAME for the subdomain in your DNS control panel at directnic. 2. Create the subdomain in your hosting control panel at GoDaddy. Gary