How to Change Pickcel On-Premise Server from IP Address to Domain Name?

How to Change Pickcel On-Premise Server from IP Address to Domain Name?

If you're migrating your Pickcel on-premise deployment to use a domain name instead of an IP address, follow the steps below:

Edit the .env File

  1. Log in to your server terminal.

  2. Open the .env file using nano(or Vi): In this example: nano .env

  3. Find and update the following fields with your domain name:

    > SERVER_NAME=your.domain.com
    > PICKCEL_SERVER_HOST=http://your.domain_name.com
    
    
  4. After making the changes, save the file: Press Ctrl + X. Then press Shift + S to save and exit

Update the NGINX Configuration

  1. Open the NGINX config file: nano nginx/nginx.conf

  2. Scroll to the bottom and replace the existing server name or IP with your new domain name.

  3. Save and exit: Press Ctrl + X, then Shift + S

Restart the Server

Apply the changes by restarting the Docker containers:

> sudo docker compose down
> sudo docker compose up -d --build

Your Pickcel server should now be accessible via your domain name.

Should you encounter difficulties, please contact support at contact@pickcel.com for assistance.