I have to deal with clear VPS with Ubuntu 16.04; Apache (and domain).
The server itself works fine via ip-address. I have successfully installed php via ssh, so now I even have some Linux experience.
But the domain doesn't work. Trying to access it just with browser I get DNS_PROBE_FINISHED_NXDOMAIN
. The same through Hotspot shield vpn, but with Zen mate I get dial tcp: lookup mistod.com on 127.0.0.11:53: server misbehaving
, although it is not server's ip.
In host provider site I set it's nameservers for domain. Via ssh in Apache I created and enabled config for that domain, specifying it in ServerName
and ServerAlias
attributes.
Googling, I found solution, where man wrotes that the ssl should be installed, so I went to Let's encrypt, followed, instruction for certbot, but stuck in command sudo snap install core; sudo snap refresh core
: it gives error system does not fully support snapd: cannot mount squashfs image using...
.
I also tried to install certbot via apt-get
, and it installed, then I installed Apache plugin, but the final command sudo certbot --apache
returns An unexpected error occurred
.
Is it something in hosting-provider-side, so I need to contact them, or it's me doing wrong something?