One domain name for mutiple hostnames setup?

I want to use one domain name for 3 different hostnames, example: server1.mydomain.com server2.mydomain.com and server3.mydomain.com

What is the best way to set the domain name up so that all hostnames, nameservers etc resolve properly. The name is registered with godaddy at present.

many thanks

I believe that you want to create subdomains and use the same on different hosts and thus different name servers.

I feel that it’s not possible with subdomain. All the subdomains ( including main domain name ) will have to be on same host and will have same DNS.

I agree with abinowbhat – it’s not really possible the way you want to do it.

However, you can fudge it a little bit by doing a CNAME record in the DNS or an A Record if you want it to resolve to an IP address.

Nonsense!

If you’re using a cPanel host, then merely use the AddOn domains and add the second and third domains to the main domain. These will be setup in subdirectories of the main domain but fear not, they will resolve as fully qualified domains.

Okay, a subdomain is treated much the same way except that it used the main domain’s … well, domain. Subdomains also typically reside in a subdirectory of a main domain BUT, as with the AddOn domain, requests of the subdomain should bypass the DocumentRoot of the main domain.

Regards,

DK

I’d also add that what is often called subdomains here is really a host, not a true subdomain. Trust me, there be a difference . . .