Prime CLI is for Docker installations only. These commands only work on Plane instances originally installed using
prime-cli.If you’re running Kubernetes or another deployment method, the environment variable names are the same, but the configuration method differs based on your setup.Check current domain configuration
First, see which environment variables currently reference your old domain. This helps you identify exactly what needs updating.Update domain in environment file
-
Open the Plane environment configuration file:
-
Find and update these environment variables with your new domain:
- DOMAIN_NAME
Don’t includehttp://orhttps://here, just the hostname.- SITE_ADDRESS
Include the protocol (https://for SSL,http://if you haven’t set up SSL yet).- WEB_URL
Again, include the full protocol. CORS_ALLOWED_ORIGINS List all domains that should be allowed to make cross-origin requests to your Plane instance. This typically includes both HTTP and HTTPS versions of your domain:Separate multiple entries with commas, no spaces. If you have multiple domains or subdomains that need access, add them all here.
Restart Plane services
Apply your configuration changes by restarting Plane:Community Edition
Community Edition
Our steps differ slightly depending on whether you are hosting on a public IP or a private/internal IP. Follow the steps listed below.Replace If you are hosting Plane on a public IP, then follow the steps here. However, if you are hosting Plane on an internal IP then follow these steps.
Update configuration in .env file
Open your project’s.env file in a text editor. This file contains configuration settings for your application. Locate the following lines:<your domain name with http/https> with your actual domain name, including the protocol (http:// or https://). For example:Set DNS A record (for public IP)
If your server has a public IP address, you need to configure the DNS A record to point to this IP address. This allows users to access your application using your custom domain name. Here’s how to do it:- Log in to your domain registrar’s website or DNS hosting provider.
- Navigate to the DNS management section.
- Find the option to edit your domain’s DNS records.
- Add a new A record with the hostname set to
@(or your subdomain if applicable) and the IP address set to your server’s public IP address. - Save the changes. It may take some time for the DNS changes to propagate.
Configure reverse proxy (for internal IP)
If your server is behind a firewall or router and has an internal IP address, you’ll need to set up a reverse proxy to route requests from your custom domain to your server. Follow these steps:- Configure a CNAME record in your domain’s DNS settings that points to your reverse proxy server’s hostname. This allows your domain to resolve to the reverse proxy server.
- Set up reverse proxy redirection on your reverse proxy server to forward incoming requests to your server’s internal IP address and port.
- Depending on the reverse proxy software you’re using (e.g., Nginx, Apache, etc.), the configuration process may vary. Refer to the documentation for your specific reverse proxy server for detailed instructions on setting up reverse proxy redirection.
- Once the reverse proxy is properly configured, ensure that your firewall/router allows incoming traffic on the necessary ports to reach your server.

