# from 1.500 on debian to 1.520 on Ubuntu 10.10 - sub-domain differences

**URL:** <https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862>\
**Category:** Virtualmin\
**Created:** [November 11, 2010, 10:34am UTC](https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862 "2010-11-11T10:34:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![psalandin](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/p/ea5d25/32.png) [@psalandin](https://forum.virtualmin.com/u/psalandin)\
**Post date:** [November 11, 2010, 10:34am UTC](https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862/1 "2010-11-11T10:34:25Z")

</div>

HI there!  
I recently migrated from a Debian 4 to an Ubuntu 10.10 server and installed wemin & Virtualmin  
After controlling that the options were the same I created a domain and then a sub-domain.

But while in the previous I had  
(base)/(domain)/domains/(subdomain)/public\_html  
now i get, ONLY FOR THE HTTP ROOT DIRECTORY, the path  
(base)/(domain)/public\_html/(subdomain)

beyond the fact that it can be better or worse, how can I get to the previous configuration?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [November 11, 2010, 1:37pm UTC](https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862/2 "2010-11-11T13:37:12Z")

</div>

Hmm, in theory, whenever you go to add a new Sub-Server to your account, it should add that to “/home/USERNAME/domains/DOMAIN.TLD/”. That path should be the default.

So you’re saying you’ve added a Sub-Server, and that’s not the path you’re seeing?

One thing you may want to do is take a peek in System Settings -\> Virtualmin Configuration -\> Defaults for new domains, and make sure the paths and settings you see in there are correct.

-Eric

---

<div class="post-metadata">

**Author:** ![psalandin](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/p/ea5d25/32.png) [@psalandin](https://forum.virtualmin.com/u/psalandin)\
**Post date:** [November 11, 2010, 2:14pm UTC](https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862/3 "2010-11-11T14:14:29Z")

</div>

I think I have to apologize, beyond thanking you for your instant reply.

I made a bit of confusion between a SUB SERVER and a SUB DOMAIN. All comes from the fact that I changed to the “Virtualmin Framed Theme”.  
With the old theme I had only the chance to “add a new virtual server” which can be owned by nobody or by another entuity which is actually a virtual server itself.

With this new frame I saw sub-domain and thought it was the old one, but the chiuce I had to take was to add a SUB SERVER.

As far as we’re on the topic, can ypu address how me to understand the difference between a SUB SERVER and a SUB DOMAIN?

Thanks!

---

<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:** [November 11, 2010, 5:41pm UTC](https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862/4 "2010-11-11T17:41:52Z")

</div>

Lemme give the quick version. 🙂

**Sub-server** : A Virtualmin managed virtual server which is owned and can be configured by the same person/entity as the parent server. Technically, its files reside in a subdirectory of the parent’s home. Has nothing to do with domain names; sub-servers _can_ be a sub-domain of the parent domain, but can be a totally different domain too.

**Sub-domain** : explanation by example: “child.domain.tld” is a sub-domain of “domain.tld”, concerning nameserver zone hierarchies. Nothing more. Do not mix up with “sub-servers”. 😉

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [November 11, 2010, 5:51pm UTC](https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862/5 "2010-11-11T17:51:45Z")

</div>

To further clarify the distinction there – there was, some time ago, a type of Virtual Server you could add which was named “Sub-Domain”.

It was eventually dubbed as “confusing” and the feature was removed 🙂

Nowadays, if you’d like to add a sub-domain into Virtualmin, no problem… simply add it as a Virtual Server or a Sub-Server.

Where Virtualmin asks for the domain name you’re adding, rather than [example.com](http://example.com), you can simply enter “[sub.example.com](http://sub.example.com)”. Virtualmin doesn’t distinguish between domains and sub-domains. To Virtualmin, they’re all just names of things 🙂

-Eric

---

<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:50am UTC](https://forum.virtualmin.com/t/from-1-500-on-debian-to-1-520-on-ubuntu-10-10-sub-domain-differences/37862/6 "2020-04-30T05:50:22Z")

</div>

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


