These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for failed to request certificate : no virtual host matching ftp.mysite.com was found on the new forum.
Hello,
I try to create a let's encrypt certificate for mysite.com but I have this error :
failed to request certificate : no virtual host matching ftp.mysite.com was found
Thanks
Can you explain me more, I think you have to clear you redirection on root folder.
SAND IT SOLUTION
I just create a let's encrypt certificate with Webmin, it work for mysite.com, www.mysite.com but not for ftp.mysite.com
where is the root folder ?
It was spam and not a real reply.
Check you have a dns entry for ftp.mysite.com, and that if you visit it with a web browser that it goes to the directory you expect.
@noisemarine Its a spam? I really don't know...but this forum don't have moderator for that?
@pol2095 Please explain more your error, when you get this message, when tried to create a new cert to ftp.domain.tld? Did you have a DNS record type 'A' with name 'ftp' pointing to 'IPv4 address of you host'?
When I try to connect to ftp.mysite.com on port 80 in web browser I have this message error :
Forbidden
You don't have permission to access / on this server.
I think "let's encrypt" had the same problem
Is-it to possible to add an index.html on this url like a web ftp ?
I tried to add in "/home/mysite/public_html/ftp/index.html", but it doesn't work
Did you have virtual host setted on apache config file? Like that:
<VirtualHost 127.0.0.1:80>
DocumentRoot "/home/mysite/ftp/public_html"
ServerName ftp.mysite.com
ServerAlias ftp
</VirtualHost>
i work thanks
But you have created a directory in that folder?
mkdir /home/mysite/ftp
mkdir /home/mysite/ftp/public_html
chown -R mysite:mysite /home/mysite/ftp
It work thanks
I created a virtualhost for port 443 for ftp.mysite.com, and SSL is broken, https://mysite.com is broken too
Did you point the certificate and key file on Apache config? Like that:
<VirtualHost 127.0.0.1:443>
ServerName ftp.mysite.com
SSLEngine on
SSLCertificateFile "/home/mysite/ssl.cert"
SSLCertificateKeyFile "/home/mysite/ssl.key"
</VirtualHost>
Thanks I have missing this