-
Notifications
You must be signed in to change notification settings - Fork 46
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
describe migration scenario when going to a new server #3438
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -355,3 +355,31 @@ Your application should be available at: | |
|
||
Where the ``<hostname>`` is directly linked to the virtual host, | ||
and the ``<instanceid>`` is the value you provided before. | ||
|
||
.. _integrator_install_application_migrate_server: | ||
|
||
Migrating to a new server | ||
------------------------- | ||
|
||
If you are migrating to a new server, keep in mind that your variable | ||
``VISIBLE_WEB_HOST`` must contain the exact host name that browsers should use | ||
to access your site. Consider the following migration scenario: | ||
your current site runs on server ``old-site.customer.ch`` with the visible host name | ||
``gis.customer.ch``. You wish to setup a new server ``new-site.customer.ch``, | ||
install the application and test it, and then switch your DNS so that | ||
``gis.customer.ch`` now points to ``new-site.customer.ch``. | ||
To accomplish this, you must proceed as follows: | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be clearer of where your instructions part you could add:
as a first stepp There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Better now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM |
||
* set ``VISIBLE_WEB_HOST`` to ``new-site.customer.ch`` | ||
* install the application on ``new-site.customer.ch`` and test the application | ||
at ``http://new-site.customer.ch`` | ||
|
||
* later, when going live, you must: | ||
|
||
* change ``VISIBLE_WEB_HOST`` to ``gis.customer.ch`` | ||
|
||
* re-build, re-deploy - but do not test yet! | ||
|
||
* change your DNS so that ``gis.customer.ch`` points to ``new-site.customer.ch``. | ||
|
||
* Now test your new live site. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I thought I was going to create a reference to this section in another place. But finally, there isn't any reference to this, and I think we don't need one. Shall I remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that will be cleaner :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in #3536