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

Post Reply
Jpsciolli
Posts: 12
Joined: Sun Feb 21, 2021 6:54 pm
Apply hostname SSL from other domain (and make it hostname)

Post 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?

User avatar
myVesta
Site Admin
Posts: 608
Joined: Fri Jun 19, 2020 9:59 am
Re: My default email access is not from the asigned domain

Post 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"

Jpsciolli
Posts: 12
Joined: Sun Feb 21, 2021 6:54 pm
Re: Apply hostname SSL from other domain (and make it hostname)

Post 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?

User avatar
myVesta
Site Admin
Posts: 608
Joined: Fri Jun 19, 2020 9:59 am
Re: Apply hostname SSL from other domain (and make it hostname)

Post by myVesta »

For multiple SSLs see - viewtopic.php?f=16&t=57

Jpsciolli
Posts: 12
Joined: Sun Feb 21, 2021 6:54 pm
Re: Apply hostname SSL from other domain (and make it hostname)

Post by Jpsciolli »

Understood, thanks! will give the try.


Post Reply