WWW with the same IP

I am having an issue with Mail-in-a-Box (MIAB) trying to renew certificates for a subdomain www , which is hosted on a different VM with the same IP address because it is on the same physical PC. How can I tell MIAB not to renew certificates for this subdomain using Let’s Encrypt?

I solved it by modifying the Python code in ssl_certificates.py to ignore it, and it’s OK now.

for domain in plausible_web_domains:
		# Skip domains that the user doesn't want to provision now.
		if limit_domains and domain not in limit_domains:
			continue

		# Skip domains that contain 'www' in the subdomain or are top-level domains (no subdomains).**
	        if 'www' in domain.split('.')[0] or len(domain.split('.')) == 2:**
                     continue**

		# Check that there isn't an explicit A/AAAA record.
		if domain not in actual_web_domains:
	```

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.