Hopefully you can shed some light on what might be going on here:
I have migrated website cutit.sk
from external VPS on my private server. I also have several domains, which are meant to redirect traffic to cutit.sk
( vyrez.sk, cut-center.com
)
In fact, I have migrated like 10 websites ( totally like 100 domains ), thats why Im using ports to access them. My vhost conf looks like:
Listen 662
<VirtualHost *:662>
ServerName webserver
ServerAlias *.cutit.sk *.vyrez.sk *.cut-center.com
DocumentRoot /var/www/html/cutit
<Directory /var/www/html/cutit>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/var/run/php/php5.6-fpm.sock|fcgi://localhost/"
</FilesMatch>
</VirtualHost>
I'm getting several errors when requesting SSL via LetsEncrypt & certbot:
Domain: www.cut-center.com
Type: connection
Detail: Fetching
http://www.cut-center.com/.well-known/acme-challenge/twxT3FlJDb3RwjmqaBJLlLh_ev5bWpxQy7euo08OI5c:
Error getting validation data
Looks like Certbot is trying to validate request accessing local folder - which does not exist - as its only domain.
So, the questions are: How should I bypass this? Or what would be the correct approach?
Not sure if its important to mention, but: DNS of cutit.sk
itself does not yet point to my server ( I have another error for that ) - but that's intended, I'm gonna change A record later. cut-center.com
and vyrez.sk
have A records pointing on my server, but those domains are not yet redirecting to cutit.sk
( I'm kinda new in this project, not sure why ).
Thank you!