How do you make a subdomain forward to a different host?
November 16, 2007 4:07 PM
Subscribe
How do you assign a subdomain to a different host?
So, here's an odd situation.
My brother runs a small charity that has a website at www.mybrotherschairty.org. The site is being hosted for free by a friend of his, but we don't have much contact with them, and I'm reluctant to ask them for favours. The domain name is registered with Godaddy, and while I have access to domain management there, I don't have any access to the hosting provider.
I have been asked to set up a Movable Type blog for the site, but I don't have permissions to create a new database on our hosting provider, and I don't want to jam a bunch of tables into the ones we have. Therefore, I have agreed to host the blog at my personal server at www.myserver.net/blog. I have complete control of everything related to my server, including DNS.
Okay, so what I want to do is to have the subdomain blog.mybrotherschairty.org go to myserver.net/blog. But I want to use masking so that the url doesn't change for visitors who will have no idea what myserver.net is. Yesterday, I went to Godaddy and added a subdomain though the interface there. However it's been over 28 hours and nslookup on blog.mybrotherschairty.com still says "no answer", so I think I need to do something else.
This should be pretty easy to do, I think, but I have no idea how DNS works, or what a CNAME record is, or how to bake a delicious pie with said record. Please talk to me like I'm an idiot. What, exactly, should I do to make this work?
posted by tracert to computers & internet (12 comments total)
2 users marked this as a favorite
If you have full control of your own server, you should set it up to have a virtual host of blog.mybrotherscharity.com, and put the blog there rather than as a subdirectory under myserver.net. That way, visitors won't ever know or see anything about myserver.net. That's the most transparent way that requires the least amount of runaround with DNS, and you won't have to do any hacky "DNS masking."
posted by zsazsa at 4:18 PM on November 16, 2007