We host several secure web applications for customers.
The customer would set up a CNAME alias to map their subdomain to our subdomain
eg. customer HTTPS URL
app.customersite.com/App maps to our HTTPS URL
The customer allows us to host their SSL key & certificate which has a common name of
However, historically, the customer also has access to the
customer.hostingserver.com URL. But if they access this URL, the SSL certificate is not trusted as the domain name does not match.
They have asked us to redirect
customer.hostingvendor.com back to
app.customersite.com somehow so both URLs would accept the SSL certificate - but surely this would set up a circular link?
Is there any way of having both these URLs working - or do we just need to convince the customer not to try and access our URL directly?