I have installed the latest Landscape Dedicated Server packages on a Ubuntu 14.04 LTS VM on Azure and was successfully greeted by the initial setup. However, after entering name, e-mail, password, and clicking OK, it redirected me to app.storageacct.j10.internal.cloudapp.net/new-standalone-user instead of the next step. Is there a change I need to make in the Landscape config to get the redirect to function properly?
2 Answers
If Deploying with the bundle, you can do the following:
juju set apache2 servername=<hostname-you-want>
This should in turn set the root_url correctly in landscape (monitor juju debug-log after you do that to see the results).
If installing the landscape-server-quickstart package directly, it's a bit more involved, and will mean you need to visit the settings page on your account. Try browswing to something like:
https://<server>/account/standalone/standalone-settings
directly and enter in the correct URL for your site.
- 7,209
I suggest to set the hostname of the instance to something that you can resolve to from your laptop, before installing the landscape-server-quickstart package. The package uses whatever "hostname -f" returns as the root url, and that sticks for life.
What I do when I deploy to local containers, for example, which have the same problem, is to ssh in, set the right hostname in /etc/hostname and reboot it. Then I install the package.
- 3,057