add support for custom domains that also have ssl cert restrictions