To use a custom domain (or subdomain) with your PANDA, you will first need to requisition one from your IT department or purchase one from a registrar such as Namecheap or dnsimple.
Note
If you’re using Amazon EC2, you will now want to set up an “Elastic IP” for your instance. This will give you a permanent address for your server. To do this, visit the EC2 Dashboard and click “Elastic IPs” in the left-hand rail. Click “Allocate New Address” in the toolbar and then “Yes, Allocate”. Select the new IP address in the list and click “Associate Address” in the toolbar. Select your PANDA instance from the drop-down and click “Yes, Associate.” You’ll use this new IP address in the next step.
Create an A (Address) record for your new domain, pointed to your server’s IP address. The details of how to do this will depend on your registrar (or the procedures of your IT staff), but typically it’s as simple as pasting the IP address into the correct box and clicking “save.” It may take some time for your domain to become available, but often it is instantaneous. Trying visiting your new domain in your web browser and PANDA should load. If it does not, wait a while and try again.
Once you have your new domain name directed to your PANDA, you’ll want to configure outbound email to use the new domain. You can do this on the settings page:
http://localhost:8000/admin/settings
Replace localhost:8000 with your PANDA’s domain name.
You will be prompted to log in as an administrative user. Once logged in you will see a list of configuration options. In the section titled “Site domain settings,” fill in your new domain name and click “Update Settings”.
To test the new domain name, click the “Home” link at the top of the screen and then the link to “Add” a new User. Fill in your own email address and click “Save.” You should get an activation email in your inbox. Click the activation link and verify that you return to your PANDA.