Server Fault is a question and answer site for system and network administrators. 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

The title describes what I'm trying to achieve I guess - I've got a Plesk powered server, but no domains as yet, but I need to test out the various website I've created.

Rather, I've got ONE testing domain which i've pointed to the server just to enable a client to have a look, but I don't really want to have to register 10 domains just to test stuff - i'd like to find a clever way around it which will enable me to show clients stuff on all the 10 websites without them having to edit their host file.

I've set up on my Plesk control panel, and we've pointed at it, to enable us to test the website before we launch "live" to the web in general.

Once we dump and replace it with the "live" domain how can I add further domains to the server and test them in a similar fashion? will be on xx.xx.77.253, so I don't understand how If I have 2-3 other domains on the server, how we can set up the DNS A records of our domain name to point to all the different websites - surely it's done by unique IP? Or does it look at who's asking and then point them to the right place?

Additionally - Is there a better way of testing out websites before releasing them into the wild? In plesk, if I create all the domains I'm set to launch, could I create a bunch of subdomains on and point the subdomains at my "real" domains as testing locations?

There aint enough words to describe this properly - hope someone get the idea :P

Thanks, Hugh

share|improve this question

I'm not sure I understand the question completely, but I think you've answered it pretty much yourself.

The way to do this without registering test domains is by putting these on subdomains. It's been a while since I've used Plesk, but you should either be able to add a "subdomain" as a domain and keep files in a separate account, or just use the domain interface to add subdomains. Since each subdomain keeps its files in separate directories, you can place a site in each one.

So, for example you would have,, etc.

What I do myself while developing sites, is create a subdomain where I place all content. For example,, client2, etc. Depending on the size of the project and how hostname-conscious it is, I could see putting each one on a subdomain (or registering 'test' domains), but only in rare situations.

Plesk should handle the DNS records, but if you need to you can create A records to point at the right IP address. Plesk should handle setting up the VirtualHost directive for you.


To do this, set up the site on the domain, even though it does not resolve yet.

Add your '' on as an alias of the domain, this way it will serve up the same content as ''. Once testing is done and site is moved over, remove ''.

share|improve this answer
Hiya, The problem is that there are literally no domains attached to the server yet. I'm going to attach to the server today, but then I'd like to find a way of redirecting it to other server setups on my plesk, rather than manually copying/pasting all my files and databases onto subdomains all the time. – MrFidge Oct 3 '09 at 11:45
IE I'd like to set up all the domains on plesk in their production states, but point at them each in turn to preview them for clients. Possible? – MrFidge Oct 3 '09 at 11:46
Just in case someone finds this on google - seriously don't bother mucking about with Plesk. Create your domain on Plesk, copy the files, and then edit your HOSTS file (in windows) so that you can see the site. – MrFidge Feb 18 '10 at 14:03
That works, but only for you. If you want anyone else to see it, you will need to create a site with a FQDN. – Dave Drager Feb 18 '10 at 18:27

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.