Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Let's say you have a Linux VPS hosting account and you wanted to add several VPS's inside that VPS or virtual machines, how can you do this?

A scenario could be that I wanted to install an IIS server or I wanted to have several Linux virtual machines for different purposes.

I'm not sure how this is possible on a VPS, like how would you connect to the different machines if they are all placed in one VPS with one IP.

share|improve this question

closed as off-topic by Iain, MadHatter, Falcon Momot, TheCleaner, mdpc Feb 13 at 21:20

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Falcon Momot, mdpc
  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Iain, MadHatter, TheCleaner
If this question can be reworded to fit the rules in the help center, please edit the question.

    
a VPS, by definition, is a virtual server by itself, so are you asking if you can run virtual machines within a virtual machine, or asking how it would set it up (something like needing an IP per virtual machine)? –  tombull89 Feb 13 at 10:28
    
I'm asking if I can create several VPS's inside a VPS, and use them without major problems, just like a normal VPS. –  user208509 Feb 13 at 16:20

2 Answers 2

up vote 2 down vote accepted

Please consider using dedicated server for your requirements.

Inside of virtual machines the virtual CPU will not have a virtualization instruction. Therefore most of virtualization software will be running very slowly or maybe unable to run.

This is definitely a dedicated server feature, if you really want to do this please consider buying/renting a dedicated server, or getting several VPS's for your need.

share|improve this answer
    
Your answer confirmed my thoughts. What software would you recommend to setup several VPS's on a dedicated linux machine? –  user208509 Feb 13 at 16:17
    
I assuming you want some Virtualization Solutions, in the mainstream production industry we have OpenVZ (For Linux), Xen and KVM (for all other OSes), but since you will be installing Windows guest machines I recommend you to use KVM, this is opensource and fairely easy to configure and manage. –  hlx98007 Feb 13 at 17:49

Well you can install Xen on your linux vps and create new vps'en with it. But I dont think you can create a windows vps in a virtual Xen. The performance of every vps you make within the vps would be very bad.

So it's possible but it would be the worst thing you can do. You could also get in trouble with your provider by doing this because you're going to create a lot of load and disk I/O

Better is getting a new vps then you get the best performance and a vps isnt expensive.

share|improve this answer

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