How to install roundcube mail client to sub

Hi,

I configured domain using virtualmin. assume the domain is sample.com After adding that top level domain name it shows it already created mail.sample.com. I want to install RoundCube Webmail to this mail.sample.com path. But i dont know how to do this. How can i do that.

You can install Roundcube anywhere you want. The industry default is top level just for simplicities sake.

When you run the install script it ask you at the bottom where you want it. You can either do top level (which most people do) or you can add a path to install it at.

no cant see subdomain choosing option. I only have my toplevel domain but when i going to create subdomain it shows apache already have mail.sample.com

Don’t install it in mail.example.tld. That’s the mail server’s address. Using it for webmail complicates things such as redirects and the like that Apache handles.

Consider:

webmail.domain.tld
roundcube.domain.tld
domain.tld/webmail
domain.tld/roundcube

Or if you prefer

server.domain.tld/webmail

which will allow access by all users in one installation.

Richard

Ok. Thanks. I understand like this.

mail.sample.com is the main mail server so it is the server that manage the email service.

webmail.sample.com is the online mail client server. so i can install roundcube in it.

are there any possibility to install roundcube to webmail.sample.com instead of webmail.sample.com/roundcube i dont want webmail.sample.com/webmail

and i have another question.

when i try to configure outlook desktop application to manage my emails using these data i couldn’t. i use data
image

and i cant configured. What is the problem

webmail.sample.com doesn’t exist by default. It’s not anything. That’s why it would be fine to use it if that’s what you want to do. It doesn’t conflict with anything.

But you probably would be better off with sample.com/webmail or servername.sample.com/webmail in the long run.

It’s not a huge big deal, but if you wanted to do certain things in .htaccess, using a sub would add another line or two of code. Because it will work exactly the same either way, I just trail it as a subdirectory to the root of the hostname:

servername.domain.tld/webmail or

servername.domain.tld/roundcube

Maybe to clarify, Roundcube doesn’t care about the directory name it’s installed in. It can be /roundcube, /webmail, /joe, /bob, or /gertrude. If your users will be coming from a cPanel background, then /webmail would be a good way to go, just for consistency’s sake. Otherwise, the directory name doesn’t matter.

It also doesn’t matter if you make it a sub in terms of how well it will work. It’s just slightly easier to trail it.

Richard

Thank you. I edit the .htaccess

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.