I have two domain names pointing to the same ip, I am currently not using virtual host in my apache configuration. I simply use /var/www/html/ as root of the app.
do I need to buy 2 godaddy certificates, one for each domain? It seems that godaddy certificate is tied to a domain, not ip, can someone clarify?
I have two domain names pointing to the same ip, I am currently not
Share
That is correct, SSL certificates are tied to a domain, not an IP address. The problem is that people type domain names into their browser address bar, not IP addresses (usually) and it’s what you type into the address bar that is validated against the certificate (that is, the certificate validates that what you type into the address bar is what you’re actually getting).