Skip to content
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

Changing domain for wordpress not possible. #21

Open
ghost opened this issue Jul 14, 2019 · 1 comment
Open

Changing domain for wordpress not possible. #21

ghost opened this issue Jul 14, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 14, 2019

If I change the domain for Mazi and try to do the same in Wordpress, Wordpress will break. Also I notice that all 'Installed Applications' keep the mazi domain. I do not see a way to change that.

@panosnethood
Copy link
Collaborator

panosnethood commented Jul 18, 2019

Hi, yes this is a known issue discussed recently in the internal MAZI-tech mailing list. This is the latest answer by @mavridis92 which I plan to try out and update the wiki.

Any feedback welcome!

My solution is based on the structure of two different domains (portal.mazizone.eu/local.mazizone.eu ) we already use.

The former is the PORTAL DOMAIN which associated with the admin/user Portal interfaces, can be changed through the Networking page of the Admin interface.

Go to the Networking page of the Admin interface
Click the Edit Domain Portal button, and then change the domain of the portal

The latter is the APPS DOMAIN associated with mazizone applications, you can easily change it through the Applications page of the Admin interface.

But you'll need to take another step after that through the command line of the toolkit.

First, go to the Applications page of the Admin interface. For each application, click the Edit button, and then fill in the appropriate section with the domain you want, as shown in the screenshot below.

NOTE: Τhe APPS DOMAIN and the PORTAL DOMAIN must be different from each other

When you changed all application domains, you should set APPS DOMAIN in the hosts file. So,

Connecting via ssh to the toolkit (ssh [email protected])
Open the /etc/hosts file (nano /etc/hosts)
Specify the new APPS DOMAIN at the bottom of the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant