Development to Production Example

Created on 19 February 2013, over 12 years ago
Updated 2 May 2025, 2 months ago

I have a live site at www.example.com and a development instance at devel.example.com, a direct copy on the same server running under that subdomain.

I need to use a subdomain to create a wholesale site that will use the same content and products, hence the Domain Access module.

So the final setup should be:

- www.example.com
- wholesale.example.com

But first it needs to be configured on the development instance so I can actually test things and reconfigure and develop to ensure things stay working, then make it easy to export via Features. So:

- devel.example.com
- wholesale.devel.example.com

It seems Domain Alias's would be the answer, somehow. But I'm not certain how to set them up for this use case. The README is helpful, but doesn't specifically address it. And I'm confused about what NOT REDIRECTING an alias actually does.

Should my main domains, even on development be example.com and wholesale.example.com, and then those are aliased? But if they are aliased with devel.example.com and wholesale.devel.example.com respectively, wouldn't people just get redirected to the live site?

I have looked at http://drupal.org/node/766970, but am still confused. How does that actually help?

Any insight would be greatly appreciated.

Thanks!

πŸ’¬ Support request
Status

Closed: outdated

Version

3.8

Component

- Domain Alias

Created by

πŸ‡ΊπŸ‡ΈUnited States jazzdrive3 Louisville, KY

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