I'm about to launch a site on a live server, after developing it with xampp on localhost. I first want to test the site before i make it live. How do i setup this up so I have it in a subdomain (i.e. test.livesite.com)? Is it just set it up on the server and only add the cname dns setting? Or is there a better way?All i am trying to do is add my site to the server, so i can edit it and look at it before I set it as live. 
setup test domain ready for site launch
subdomain;testing
Usually, adding a subdomain is just a server configuration matter. For example, if you are using hostgator, within 3 clicks you can have a well configured, ready to use, subdomain.