These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Syntax for webmail on the new forum.
Hi
Whats the url syntax for webmail? The conventional www.domain.com/webmail does not work.
regards
Yamin
In case you're talking about Usermin as set up by Virtualmin for virtual servers, the default URL is "webmail.domain.com" (forwarded to "domain.com:20000" via Apache mod_rewrite), configurable in the server template, section Apache Website.
Hi
I was able to access it using https://domain.com:20000 but not https://webmail.domain.com.
I have added a host record in the DNS webmail.domain.com for the website. Then I get the default page from Apache/Centos.
I have checked my settings in the Virtualmin/Webmin and its set to default.
Regards
Yamin
My DNS is handled by the name server on ISP not on my local server.
Virtualmin should add the necessary entries to BIND and Apache automatically when setting up a new vserver, when the template is set up accordingly.
Adding the A record to BIND alone isn't sufficient, since with that you only say that "webmail.domain.com" resolves to your IP, but Apache does not know what to do with it. That's why it shows the default page.
To actually instruct Apache to forward that to "https://domain.com:20000", the following lines in the vserver's config file are used by default:
Replace "h-ttps" with "https" when using those lines. Have to type it that weirdly, cause otherwise the forum software here will try to auto-create an "a href" link in the code block, messing it up really good.
Hi
The directives are already there. Its working now,. I was typing https://webmail.domain.com instead of
http://webmail.domain.com
Regards
Yamin