Web Hosting Talk







View Full Version : Zone File question


semck83
03-13-2002, 08:35 PM
Hi all,

I'm a Reseller (I use WHM if that's important), and a customer wants me to set up a subdomain for large file downloads, so that it points to a totally separate server/host. How would I go about doing this? I have some idea of the general principles, but not the specifics.

Many thanks,
Stephen

dside443
03-13-2002, 08:49 PM
In the zone file, add an entry like this:
full.domain.name. IN A ip.address.here

semck83
03-13-2002, 09:30 PM
Thank you! Just what I wanted. Except I guess (I should have asked this first :() he wants a URL, not an IP.

Would CNAME be the ticket?

Thanks,
Stephen

allan
03-13-2002, 11:01 PM
Originally posted by semck83
Thank you! Just what I wanted. Except I guess (I should have asked this first :() he wants a URL, not an IP.

Would CNAME be the ticket?


As long as you understand that a CNAME only aliases a domain name, no subdirectories.

So:


subdomain.example.com IN CNAME subdomain.domain.com


will work, but:


subdomain.example.com IN CNAME subdomain.domain.com/directory/


will not work

semck83
03-14-2002, 12:53 PM
Thank you very much! I appreciate it.

All the best,
Stephen