Skip to main content
Version: 7.0

Change the Control Server Domain

Changing your control server domain is straightforward. You'll need SSH access to your control server to proceed.

1. Update the ACME Client​

Ensure your ACME client is up to date by running:

acme.sh --upgrade

2. Remove the Old SSL Certificate​

Replace OLD_DOMAIN.COM with your current domain name and execute:

acme.sh --remove -d OLD_DOMAIN.COM

3. Request a New SSL Certificate​

Replace DOMAIN.COM with your new domain name and run:

acme.sh --issue \
--webroot /opt/virtfusion/nginx/acme \
--keylength 4096 \
--server letsencrypt \
-d DOMAIN.COM

4. Install the New SSL Certificate​

Again, replace DOMAIN.COM with your new domain and execute:

acme.sh --installcert \
--keypath /opt/virtfusion/ssl/ssl.key \
--fullchainpath /opt/virtfusion/ssl/ssl.crt \
--reloadcmd "systemctl reload vf-nginx" \
-d DOMAIN.COM

5. Verify the New Domain​

Visit your control server using the new domain. If you are already logged in, log out and then log back in to confirm everything is functioning correctly.