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 which i use for support stuff like Wiki.
Zammad itself is configured to use support.example.com as domain. My group emailaccounts also are on main domain. So there are according emailaddresses like: crm@example.com, 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.
- How can i make sure, that each time i call that support.example.com domain, zammad is loading and not the default website?
- When i enter my server’s domain which is server01.example.com i will also see the default website. I would like to see the content of /var/www/html instead
- If i create a ssl cert for example.com i can add support.example.com as well, correct? Then i could use the certificate with zammad as well.
- I have a virtualserver and those example.com is a subserver, sharing the certificate with the virtualserver itself. Would #3 cause a problem there?
- 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, www.example.com, 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
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