New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add www alias (to letsencrypt domain?) #1489
Comments
Confirm issue. OS: CentOS 7 Also found that Fixed it by:
UPD 22.05.2018 More stable and faster solution.
|
@Niklan Hi Nikita, |
@klukiyan This files and folders are available for sudousers only. So before trying to get there or edit something, enter You can edit it whatever you like. |
changing web.conf only fixes support for http |
@Niklan's solution also works for Ubuntu. |
Bad fix, because after changing main.sh, new domains are created with two aliases www.domainname.com, www.domainname.com |
any idea to fix this? I really need it badly for www... |
I did it using ssh in mind conf somewhere.
Can't remember, but find it by googling
…On Mon, Sep 21, 2020, 07:12 Benyamin Limanto ***@***.***> wrote:
any idea to fix this? I really need it badly for www...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1489 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGTQZ62WLOGBTLSJGRII2P3SG3OEFANCNFSM4ERI3EHQ>
.
|
74fa6d5 |
Is it working also on ubuntu? Also after that I only need to un check ssl->save web->check ssl->save web again right? |
It shouldn't matter what distro you use it on, as its only using bash commands. Make a backup of the script. Try it. If it doesn't work, restore the backup. |
Operating System (OS/VERSION):
Ubuntu 16.04 LTS
VestaCP Version:
Latest .19
Installed Software (what you got with the installer):
Apache / nginx config
Steps to Reproduce:
Related Issues/Forum Threads:
https://forum.vestacp.com/viewtopic.php?f=11&t=16219
Other info
Try removing SSL and LE, and saving the domain. Then you add the www alias to a plain http domain. Same result
Try with a different subdomain ... xxxx.domain.com. This ... succeeeds! So it seems to be prejudiced against www.
Try editing $VESTA/data/users/username/web.conf and edit it so that xxx becomes www. Then we rebuild web config. Alias, appears in the config, and also in the web interface. However, now we are unable to add LE SSL. It fails with "Error 2". No further information is available in /var/log/vesta/system.log
Tried running command line versions which appear in the system.log. Same result. At what point does the alias get passed to letsencrypt servers?
v-add-web-domain-alias 'user' 'domain.com' 'www.domain.com' 'no'
v-list-web-domain user domain.com | grep ALIAS
ALIAS: (blank)
The text was updated successfully, but these errors were encountered: