Skip to content

Commit f787656

Browse files
authored
Merge pull request symfonycorp#154 from OskarStark/patch-5
Add caution about attaching subdomains to different projects
2 parents 7f08864 + 406cec2 commit f787656

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cookbooks/go_live.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ layer to route requests to the project for a specific domain:
7171
Activity 22jdotpwtrxz6 succeeded
7272
The domain example.com has been attached.
7373
74+
.. caution::
75+
76+
Let's say you own one TLD ``my-domain.com`` and have two SymfonyCloud projects running.
77+
You may want to attach ``project1.my-domain.com`` to the first and ``project2.my-domain.com``
78+
to the second project. While you can easily attach the first subdomain, this will not
79+
work for the second domain out of the box.
80+
This is due to SymfonyCloud's "subdomain hijacking protection", you need to create a support
81+
ticket so that the support can manually whitelist the ``project2.my-domain.com`` subdomain.
82+
7483
.. tip::
7584

7685
Multiple domains can be attached to a project. :ref:`wildcard_routes` (like

0 commit comments

Comments
 (0)