Changing management domain

Events happening in the community are now at Drupal community events on www.drupal.org.
cwittusen's picture

Not sure if this is the right place for this question/discussion, if it not, please let me know and I will put it where it should be.

I have my octopus management console running on a specific domain (example: octopus.domain-name.com) currently. However, I would like to change it to another domain name, how can I do that?

Would I just change the config file, would that update the DB accordingly?

Regards,
Chris

Comments

Not sure

timlie's picture

I am not sure but I don't think you can change this, only on clean install.

Somewhere in the conf files (octopus.cf or barracuda.cf) is written that this is only possible during install not on upgrade.

I was also looking for this.

You can install multiple

geoff's picture

You can install multiple octopus instances on a server.

One solution would be to install a new instance with the new name and move your sites over.

I believe that if you copy the site folder for each domain and "verify" that platform, BOA will import the domain. But how that relates to having it also recorded in a second Octopus instance, I am not sure.

Yeah, moving the sites from

ar-jan's picture

Yeah, moving the sites from one Octopus instance to another is simple, e.g. o1 to o2:

cp -R /old/platform /new/platform (this includes the existing sites)
chown -R o2:user /new/platform
Add platform in your o2 instance.
When verifying the sites will be imported (the database remains where it is)
Remove old vhost from /data/disk/o1/config/server_master/nginx/vhost.d/*
service nginx restart

From omega8 comment here.

Why not to add an alias in

omega8cc's picture

Why not to add an alias in the hostmaster site if you need different URL?

hostmaster site?

cwittusen's picture

Omega8cc:
What file would that be that I would add an alias in? My problem is that I used to put it under a domain that I let expire and the 2nd issue is that my server provider put me in a cloud based vhost where I have a NAT:ed address and external address and that has caused some challenges.

Thank you for all the help.

Chris

Regards,
Chris W

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: