Page 1 of 1

Apply hostname SSL from other domain (and make it hostname)

Posted: Fri Aug 20, 2021 3:22 am
by Jpsciolli
Hello

sorry to bother and thanks for your great work with myvesta.

I created a server and installed myvesta, so admin is working in domain.com
Then I created a user admin2, inside this user i created a new domain domain2.com from where i send emails.

But, in order to access to webmail i need to use " domain.com/webmail " (i am not able to access via domain2.com/webmail)

And, when configuring the mail client it is not identifying the smtp (mail.domain2.com)

Can you please advice?

Re: My default email access is not from the asigned domain

Posted: Fri Aug 20, 2021 10:07 am
by myVesta
for webmail - viewtopic.php?f=7&t=37

for imap/smtp:
- change hostname to domain2.com - viewtopic.php?f=23&t=194
then, in your SSH as root:

Code: Select all

HOSTNAME='domain2.com'

USER=$(v-search-domain-owner $HOSTNAME)
v-update-host-certificate "$USER" "$HOSTNAME"

Re: Apply hostname SSL from other domain (and make it hostname)

Posted: Fri Aug 20, 2021 4:27 pm
by Jpsciolli
Thanks, as i can understand, myVesta will be able to use only one hostname at a time? or it will be suitable to handle all the domains I can arange in the server? If so I should do this for every domain, right?

Re: Apply hostname SSL from other domain (and make it hostname)

Posted: Fri Aug 20, 2021 4:30 pm
by myVesta
For multiple SSLs see - viewtopic.php?f=16&t=57

Re: Apply hostname SSL from other domain (and make it hostname)

Posted: Fri Aug 20, 2021 4:34 pm
by Jpsciolli
Understood, thanks! will give the try.