If you're migrating your Pickcel on-premise deployment to use a domain name instead of an IP address, follow the steps below:
.env FileLog in to your server terminal.
Open the .env file using nano(or Vi): In this example: nano .env
Find and update the following fields with your domain name:
> SERVER_NAME=your.domain.com
> PICKCEL_SERVER_HOST=http://your.domain_name.com
After making the changes, save the file: Press Ctrl + X. Then press Shift + S to save and exit
Open the NGINX config file: nano nginx/nginx.conf
Scroll to the bottom and replace the existing server name or IP with your new domain name.
Save and exit: Press Ctrl + X, then Shift + S
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.