You cannot create a CNAME when there is already an A record for the same hostname. As you managed to create a CNAME it indicates that you had an A record for example.com but there was no record at all for www.example.com
domain is mirava.co. I typed the address with www, however it still did not resolve it! Now it works but I am little confused about the mechanisms of DNS lookup. I get the concept of subdomain but what happens if I just don’t create subdomain on my host provider?
DNS is like a phone number. If you want to call www they have to exist. Otherwise the operator has no one to call. And on the other side there needs to be a host configured to accept requests (you can’t just call a random phone number and expect www to answer).
Yes, I am aware, I didn’t have the time to install the SSL, I will fix it soon. I am just experimenting certain things and trying to understand the whole picture. Many thanks to everyone for your support. I apprciate it.
It’s not only the certificate though, you also need to change the encryption mode itself. Otherwise even a proper certificate would be still insecure. Keep that in mind when you add the certificate.