# Duplicate virtual server

**URL:** <https://forum.virtualmin.com/t/duplicate-virtual-server/39466>\
**Category:** Virtualmin\
**Created:** [May 9, 2011, 12:30am UTC](https://forum.virtualmin.com/t/duplicate-virtual-server/39466 "2011-05-09T00:30:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonloh](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@jonloh](https://forum.virtualmin.com/u/jonloh)\
**Post date:** [May 9, 2011, 12:30am UTC](https://forum.virtualmin.com/t/duplicate-virtual-server/39466/1 "2011-05-09T00:30:22Z")

</div>

I’m not sure if this is normal, but whenever I create a virtual server, the new virtual server will always duplicate another virtual server that has been created before into the new one.

For example, I have a [example1.com](http://example1.com) virtual server. If I create for [example2.com](http://example2.com) virtual server, several contents from the [example1.com](http://example1.com) virtual server will be copied into [example2.com](http://example2.com) virtual server as well, which I do not want it to happen.

Is there a configuration to this?

---

<div class="post-metadata">

**Author:** ![Locutus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/90ced4/32.png) [@Locutus](https://forum.virtualmin.com/u/Locutus)\
**Post date:** [May 9, 2011, 12:38am UTC](https://forum.virtualmin.com/t/duplicate-virtual-server/39466/2 "2011-05-09T00:38:05Z")

</div>

What exactly is copied to the new virtual server? Do you by chance have the stuff you see as being copied in your “skeleton directory” which you can configure in the server templates?

---

<div class="post-metadata">

**Author:** ![jonloh](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@jonloh](https://forum.virtualmin.com/u/jonloh)\
**Post date:** [May 10, 2011, 11:31am UTC](https://forum.virtualmin.com/t/duplicate-virtual-server/39466/3 "2011-05-10T11:31:47Z")

</div>

Sorry, I’m not sure what you meant exactly, but yeah, virtualmin basically duplicate the same skele files and directory into the new created virtual server.

Example:

[New.virtual-server.com](http://New.virtual-server.com)

- etc
- domains
- tmp
- public\_html
- Another.virtual-server.com

  - etc
  - domains
  - public\_html

Somehow, the [another.virtual-server.com](http://another.virtual-server.com) and the contents in it are duplicated to the new one, even though I create it as a top-level virtual server for [new.virtual-server.com](http://new.virtual-server.com).

---

<div class="post-metadata">

**Author:** ![Locutus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/90ced4/32.png) [@Locutus](https://forum.virtualmin.com/u/Locutus)\
**Post date:** [May 13, 2011, 1:03pm UTC](https://forum.virtualmin.com/t/duplicate-virtual-server/39466/4 "2011-05-13T13:03:20Z")

</div>

Sorry, I still don’t fully understand what exactly gets duplicated where when you do what.

Could you reiterate that?

Some hints too: Virtualmin always creates the directory structure (mostly without contents) you see there. I.e. all new servers will get the etc, public\_html etc. folders in their home. You might also want to check the “skeleton directory” feature in your server templates, which causes the contents of a selectable directory to be copied to every new server.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:52am UTC](https://forum.virtualmin.com/t/duplicate-virtual-server/39466/5 "2020-04-30T05:52:00Z")

</div>

Closed on April 30, 2020, 5:52am UTC


