Changing Hostname
Sometimes you need to change your devshop's hostname.
Here's the process.
Rename your server in your cloud provider. Not technically required, but it will reduce confusion.
Add a DNS record for your new name to point to your server's IP.
Edit /etc/hostname and enter your new full hostname.
Edit /etc/hosts and change the old hostname to the new one.
In your devmaster front end, find the site node for your front-end, and add the new domain as an alias. Set the aliases to redirect to your desired URL.
At this point you should be able to visit http://yournewhostname/ and access the devshop front-end.
In your devmaster front-end, all old projects will retain their old base url. You can edit the database table {hosting_devshop_projects} to manually update the base URL so that new environments will be created under the new hostname.
Reboot the server.
Last updated