Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
thanks for the tip John, I didnt realise what I had to do, all sorted now thanks – nextyear Aug 31 '11 at 15:26
No problem. Glad you got it sorted. We're happy to have you as part of our community. :) – John Conde Aug 31 '11 at 15:30
do i need to repost this or will people still be able to see the question as i'm still desperate to solve this thanks, think I will try the cname approach – nextyear Aug 31 '11 at 15:33
Not at all. Your question is still active. It just appears as though no one has an answer to your question yet. Maybe if you edit it and add some more information about what you are trying to do and what you've tried so far, if anything, and see if that helps to solicit a response/ – John Conde Aug 31 '11 at 15:48
up vote 1 down vote accepted

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.

share|improve this answer

This can be achieved a few ways.

Most hosting environments will automatically set up your site that is accessible by IP and username, you could use that.

If they don't do that then you could set up a domain as you suggest.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.