Posted by cwittusen on November 2, 2013 at 3:30pm
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
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
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
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
Why not to add an alias in the hostmaster site if you need different URL?
hostmaster site?
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