Sounds like what you are looking for is what is called name-based virtual hosting. My recommendation would be to first look up the term on Google and see what you can find there.
On Thu, Jan 18, 2018 at 2:33 PM, Rodrigo Cunha <rodrigo.root...@gmail.com> wrote: > Dear, i have a problem in config vhost squirremail. > I'm following the steps in the tutorial [http://www.100security.com.br > /postfix-squirrelmail-outlook/] . The autor indicate setup this changes > in apache2.conf: > > Alias /webmail “/usr/share/squirrelmail/” > DirectoryIndex index.php > > but i want create vhost for my domain "mail.mydomain.com" and not create > redirect IP/webmail.I want config this mail with my other localwebsites > like: > /etc/apache2/site-available/mail.mydomain.conf and setup this file with > a2ensite mail.mydomain.conf, etc. > > What is steps for configure my squirremail with vhost and not ip/webmail. > Tks. > > -- > Atenciosamente, > Rodrigo da Silva Cunha > São Gonçalo, RJ - Brasil > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Livre > de vírus. www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>. > <#m_4650898159903611601_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >