# Running Serverinstalled Software side by side with virtualmin

**URL:** <https://forum.virtualmin.com/t/running-serverinstalled-software-side-by-side-with-virtualmin/58073>\
**Category:** Virtualmin\
**Created:** [March 20, 2018, 3:06pm UTC](https://forum.virtualmin.com/t/running-serverinstalled-software-side-by-side-with-virtualmin/58073 "2018-03-20T15:06:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![just\_me](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/j/b38774/32.png) [@just\_me](https://forum.virtualmin.com/u/just_me)\
**Post date:** [March 20, 2018, 3:06pm UTC](https://forum.virtualmin.com/t/running-serverinstalled-software-side-by-side-with-virtualmin/58073/1 "2018-03-20T15:06:49Z")

</div>

Hi,  
since my servers are quite capable of running software besides hosting, i am wondering, what would be the best way to integrate them into the system.

I am currently installing zammad, since OTRS did implicate a lot of upgrade efforts, and it was too complex in the end.

So i went ahead and installed zammad. I’ve got a domain, [example.com](http://example.com) which i use for support stuff like Wiki.  
Zammad itself is configured to use [support.example.com](http://support.example.com) as domain. My group emailaccounts also are on main domain. So there are according emailaddresses like: [crm@example.com](mailto:crm@example.com), [cms@example.com](mailto:cms@example.com) and the like, because i wanted to keep them simple in the first place, and secondly don’t want to setup a second virtual host and having to reconfigure it completely.

Now it works that way, that if i use a favorite in my browser, i can login. If i use the link to the ticket, given in Email, it will point me to the standard website, defined by apache, which is the first website in the list in folder /ect/apache2 -sites-available (and by the way the one being set by virtualmin as well)

I remember haven seen a forum post, outlining, how to get rid of this setting at all; but i can’t find it anymore.

Now i have some questions.

1. How can i make sure, that each time i call that [support.example.com](http://support.example.com) domain, zammad is loading and not the default website?
2. When i enter my server’s domain which is [server01.example.com](http://server01.example.com) i will also see the default website. I would like to see the content of /var/www/html instead
3. If i create a ssl cert for [example.com](http://example.com) i can add [support.example.com](http://support.example.com) as well, correct? Then i could use the certificate with zammad as well.
4. I have a virtualserver and those [example.com](http://example.com) is a subserver, sharing the certificate with the virtualserver itself. Would #3 cause a problem there?
5. the main virtual server won’t work with letsenctypt.

It says This is done by placing a small temporary file in the website’s document directory /home/example/public\_html.

Interestingley enough it tells me, that it is checking /home/example for challenge.

I will get the following error messages:

Requesting a certificate for [example.com](http://example.com), [www.example.com](http://www.example.com), [autoconfig.example.com](http://autoconfig.example.com) from Let’s Encrypt …  
… request failed : Web-based validation failed : Failed to request certificate :

autoconfig.example.it challenge did not pass: DNS problem: NXDOMAIN looking up A for [autoconfig.example.com](http://autoconfig.example.com)

DNS-based validation failed : Failed to request certificate :

Gave up waiting for validation

This is weird in general, since i took the main virtual server, together with all subservers, made a backup in one file, and transferred to this server from another, old one. It said, it restored everything, but there were missing databases and the like, so i am a little stuck.

Anybody, please?

Thanks and best  
j\_m

---

<div class="post-metadata">

**Author:** ![unborn](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/unborn/32/23353_2.png) [@unborn](https://forum.virtualmin.com/u/unborn)\
**Post date:** [March 21, 2018, 6:22pm UTC](https://forum.virtualmin.com/t/running-serverinstalled-software-side-by-side-with-virtualmin/58073/2 "2018-03-21T18:22:00Z")

</div>

hi just\_me

… I shall now say this but non of those are virtualmin issues. It appear to me that it is working for you. Best way to deal with this would be to reading docs for each cms and go from there… sorry.

---

<div class="post-metadata">

**Author:** ![just\_me](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/j/b38774/32.png) [@just\_me](https://forum.virtualmin.com/u/just_me)\
**Post date:** [March 26, 2018, 7:40am UTC](https://forum.virtualmin.com/t/running-serverinstalled-software-side-by-side-with-virtualmin/58073/3 "2018-03-26T07:40:07Z")

</div>

Well,

no.

1. Virtualmin can set the default webpage. How can i make sure, no Virtulamin website is being default website?
2. I want to use the /var/www/html folder for my FQDN being used for Virtualmin server setup.
3. & 4.: Since i have subservers, which seem to share certificate with the main virtual server, i am wondering, why those subservers don’t have a valid certificate (letsencrypt)
4. Main server is set in virtualmin to use letsencrypt, but as i said before, although the letsencrypt setting says it would look in /home/example.com/html, the error being shown above says, it couldn’t check the folder /home/example.com. So there might be a problem with the lets encrypt module, if i move a virtual server set from one physical server to another.
5. I created a complete backup of the main virtual server with all subservers in one file to transfer over to a new server, but the restore process omits some items, like mysql database, and i am not sure, whether it also created some more problems.

So in my eyes, this are valid Virtualmin questions, whatever context i am working on (which i provided for better explanation, what i am talking about)

Best

---

<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, 6:09am UTC](https://forum.virtualmin.com/t/running-serverinstalled-software-side-by-side-with-virtualmin/58073/4 "2020-04-30T06:09:34Z")

</div>

Closed on April 30, 2020, 6:09am UTC


