Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

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 am working to build a new version of my website.

During the time I'm building it I would like to view it live on the internet without having to delete the old one.

What is the best way to do this?

share|improve this question

If it must be available online the easiest way is to create a subdomain on your main website and place your code in there. Just make sure to block that website from search crawlers. The best way to do that is with Basic Authentication.

share|improve this answer

Another way to do this, if you use Git for version control, is to make use of Github's new Github Pages feature. Every time you push an update to the site, it will go live at username.github.io/repo-name. Alternately, you can use your own domain name.

Even if you don't use Git regularly, learning it takes an hour or two, and then you can have your live updates as you're working on it.

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.