Hello, How would i point a subdomain from one site (host) to a url of another site (host). For example I have - www.123xyz.com pointing to my site hosted by John I create a subdomain - test.123xyz.com I create a new site hosted by Steve - (no url as it only needs to be accessed through the subdomain - the nameserver is 100.xxx.xxx.xx) How do make test.123xyz.com point to 100.xxx.xxx.xx while www.123xyz.com still points to the site hosted by John. Does that make sense?
DNS it using IN in the hosts db file: test.123xyz.com. IN A 100.100.100.1 www.123xyz.com. IN A 100.100.100.2
Hi! Just ask your host to add an A record for this. They wouldn't have a problem doing it. Shouldn't anyway. If you have access, just edit your DNS zone, and add an A record.
It is obviously pointing to IP addresses but what type of IP address do I ask the host to provide (I have the IP of the server itself but is it a seperate one to point to the specific area where the site resides) - Its a shared server I take it when using an A record, the nameservers have no relevance?
you need to find the ip where you want you subdomain to ultimatly point and then as suggested, ad an A record in your dns zone.
If you own WHM you can do this by adding A entry pointing to new IP. Or ask your provider to add this for you.