-
-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multiple host name aliases for one project #620
Comments
Related to #570 (or at least surfaced during the testing of the upstream issue). |
Related to #416, which is a much much larger issue. |
This is also useful for Drupal in domain access or multi-lingual configuration. I believe the same is true for WordPress. There are several areas that would be impacted by this as well as different solutions. Currently, we're still reliant on /etc/hosts entries versus a dnsmasq solution. Areas impacted:
Implementation Options:
|
Just noting that this was a request from @tmotyl as well. |
Pulling in @rfay to assist with the definition for acceptance criteria. I would stub this out as an entry in config.yml with the expectation that it would handle the /etc/host changes and accurately show up in ddev list/describe/start output. Being more explicit:
Potential issues are a few. Currently, our ddev list command assumes a single HTTP/HTTPS pair and the list might become a bit hard to read. I'm assuming we'll run into a few more trouble spots as soon as we start digging. Also, the ddev-ui integration |
These ACs sound pretty solid. In the future, does it make sense to wrap some of this work in a command? |
@cweagans Let's consider that outside the scope of this issue. What you're describing could be something that extends |
Updated assignee. I'll get the issue description updated with the motivation/AC and the labels updated. Also, I'll add the motivation and prioritization/milestone. |
Key things to note:
|
|
Very cool! Thanks a bunch for this feature! |
What happened (or feature request):
Motivation
It would be nice to be able to specify multiple additional (local) hostnames in configuration
which should be used for routing to the correct dev instance and used for the web server configuration (in case the web server does not accept arbitrary hostnames)
That is useful for applications that can deal with multiple host names in one instance (like TYPO3). It is a fairly common occurrence in TYPO3. For Drupal developers, this is akin to a domain access approach (one codebase, one database, multiple hostnames). Additionally, subdomains can be used for a multi-lingual approach.
Acceptance Criteria
Related Issues
The text was updated successfully, but these errors were encountered: