Rebranding Your Foundation Server URL
Use this article at your own risk as we recommend that you upgrade to a pro server before rebranding your URL or supporting multiple accounts.
URL branding is probably the most frequently asked question we get from our customers. There are cases where you’d want to change http://customer.ublip.com to http://demo.customer.com. This won’t work without a couple of modifications:
1. You need to make sure the appropriate account exists in your administration console. For example, if you’d like to use the URL http://demo.customer.com then make sure you have the proper account and subdomain (demo) specified. The most important part is the subdomain field since that’s what Rails uses to load the appropriate account.
2. Update your DNS for demo.customer.com to point to your Foundation server IP address.
3. Update the Google Maps key found in /opt/ublip/rails/current/app/views/layouts/includes/_map_key.rhtml with your own map key (see the last part of the if statement in _map_key.rhtml).
4. Access http://demo.customer.com and login.
Keep in mind this is only a short-term solution during development. The Google Maps license states that if you’re displaying any sort of sensor data then you need to pay for the enterprise license (starts at $10k at the date of this article). Our pro server comes with access to your own Google Enterprise Maps key as part of your monthly fee.
