I searched and found how to make a global roundcube server. But that wasnt the case… So I looked in my apache’s config and found theses conf files in /etc/apache2/sites-avaiable/domain.com.conf
The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 28 of /etc/apache2/sites-enabled/domain.com.conf:
RewriteRule: bad flag delimiters
Action ‘configtest’ failed.
The Apache error log may have more information.
Fixed, but I still dont know why it is not working…
If I try to ping in webmail.domain.com it doesnt translate to my VPS IP as it does when I ping at www.domain.com, should I create a CNAME for webmail???
I guess it was hosted by third party… I have a VPS at digital ocean. And they have a DNS manager there, when I added the webmail CNAME, it started to work!