Hi Could I have a subdomain of my website hosted on another server?! If so how could I do that? Do I have to tell my current webhost to do some specific setting? I need this because my current host doesn't allow me to compile C programs on their server, but the other host did and I coudl run some programs performing special calculations for me, and I could really use the other host computing facilities. Thanks!
Hi, You can but it does not always work, I did this for a client.. put main domain name on one server then subdomain on another server. At domain registrar you have to add both sets of nameservers so that it will work, but occassionally he found that the connection to the subdomain would drop out. Not sure if it was something I did but he choose just to get a domain name to stick in place of subdomain as it works without any problems. You dont really need to tell your host as it is all done at your domain registrar and your new host.. just get them to setup your sub.domain.com and make sure you enter the additional nameservers at your domain name registrar. Drew.
This is doable - but you don't add multiple nameservers. You have to control the subdomain as well as the www all from the same nameservers. basically at your nameservers they keep a list of all the info about the domain. So they keep a record of where your mail goes, the ip address of the www, and the ip address of any subdomains. In fact, the www isn't anything more than a subdomain, ableit a commonly used one. So in your nameservers they have a record something like this: www ---> XXX.XXX.XXX.XXX mail -----> XXX.XXX.XXX.XXX you need to add to this: subdomain --->XXX.XXX.XXX.XXX where XXX.XXX.XXX.XXX is the appropriate ip address. I've likely confused you even further. The short answer is you need the IP address of where you're hosting your subdomain. Then you need to have whoever currently handles your nameser to add the subdomain and that IP address. It does not involve new nameservers or different nameservers for the subdomain. You must tell the same nameservers that look after your www about the subdomain, even if the www and subdomain are on different servers. (the process when someone requests a page is this. First, they look up who the nameserver is. Then they ask the nameserver for the ip address of the domain/subdomain (could be www, or anything - the same nameserver answers all these questions). The nameserver responds with the ip address of either the www or the subdomain - whatever it was asked. The last step is to actually go to the IP address and request the page. You can see with all the steps going back and forth why many places cache this info for a while so they remember IP addresses instead of querying all over the internet for every page.)