For example, let’s say we have a customer using the sitename delightful on Cloud Platform Professional. Since Cloud Platform Professional appends random alphanumeric strings to sitenames, the resulting configuration files would appear like this:
delightful978inmswak-152457.conf
delightful82upsouk-168414.conf
delightfulmlhjfbjppg-154567.confThese configuration files correspond to the following environments on this infrastructure:
delightful978inmswak-152457.confdelightful82upsouk-168414.confdelightfulmlhjfbjppg-154567.confInside each of these configuration files are a set of variables called ServerAlias. These variables are the domain names displayed on your Domains page. The configuration files mentioned above contain the following ServerAlias definitions:
delightful978inmswak-152457.conf
ServerAlias dev.delightful.com
ServerAlias loadtest.delightful978inmswak.devcloud.acquia-sites.com
delightful82upsouk-168414.conf
ServerAlias *.delightful.com delightful.com www.delightful.com
ServerAlias dc-278394-136583925.us-east-1.elb.amazonaws.com
ServerAlias loadtest.delightful82upsouk.devcloud.acquia-sites.com
delightfulmlhjfbjppg-154567.conf
ServerAlias test.delightful.com
ServerAlias loadtest.delightfulmlhjfbjppg.devcloud.acquia-sites.comIf a request is received for test.delightful.com, the request would be caught by the *.delightful.com rule, which Apache reads before the ServerAlias for test.delightful.com. The content for test.delightful.com would appear on the production environment, instead of non-production environment.
It is not possible to circumvent the method Apache handles wildcard behavior in the domain matching process. If you determine that your subscription is serving the wrong version of your website, and you use wildcard domains, try removing the wildcard to attempt to resolve the issue.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.