One site, dual URLs

Created on 25 July 2013, almost 12 years ago
Updated 2 May 2025, about 1 month ago

Due to compliance and security issues my client has this following requirement.
1) Mask the internal servers true network identity from the public.

The direction we were initially working toward was the site is configured as prod.XYZ-example.com but publicly it is accessed as www.example.com through the use of a proxy and routing. We got close but ran into issues due to the fact that Drupal rewrites everything back to $base_path which exposed the public to internal network information (ie css paths: http://prod.XYZ-example.com/path-to-css ) which also broke the site display as the internal URL doesn't resolve publicly.

Im looking for a solution that supports a single installation but operates identically with 2 URLs. Domain Alias looks to maybe do the trick but is it overkill? Is this what I need or is there a simple solution that I'm overlooking?

Thanks for any assistance.

πŸ’¬ Support request
Status

Closed: outdated

Version

3.9

Component

- Domain Alias

Created by

πŸ‡ΊπŸ‡ΈUnited States ksavoie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024