How to measure and optimize DNS influence on CDN performance?

I want to measure and optimize the DNS & TSL costs on CDN performance. The current setup: Mobile app requests file from URL https://file.mydomain.site/file.jpg Provider A (in Germany) has a CNAME entry for file.mydomain.site pointing to CDN provider at mydomain.cdnprovider.net If CDN Provider has a CDN cache hit, the file is served at the CDN…

How to stop ports.conf getting modified by certbot

How can I get certbot to stop modifying /etc/apache2/ports.conf, but still autorenew? I have a ports.conf that looks like this NameVirtualHost 127.0.0.1:8080 Listen 127.0.0.1:8080 <IfModule ssl_module> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule> I am using nginx to redirect http traffic to apache, as I have a flask server running at http://mydomain/api/ recieving requests.…

Why it dose not work when I set CNAME to let my domain point to another domain?

I have registered a domain, say myDomain.com, and I want to try out how CNAME works. I changed the CNAME of www.mydomain.com in GoDaddy and let it points to another domain, say Amazon.com, but when I try to visit www.mydomain.com, it displayed “this site is not currently available”. From what I’ve read here: https://ns1.com/resources/cname it…