How to change a site domain in ISPmanager

In the examples wp.example.com is the old domain and newsite.example.com is the new one.

A site name in ISPmanager cannot be changed after creation — the "Domain name" field in the site settings is read-only. So a new site is created for the new domain and the files are moved into it.

The site domain name is not editable
The site domain name is not editable

1. Point the new domain to the hosting

Set the hosting DNS servers for the new domain or an A record to the site IP — as for any site: Create a site.

2. Create a site for the new domain

  1. "Sites" → "Create a site" → manual setup.
  2. "Name" — the new domain. PHP version — the same as the old site.
  3. Click "Create".
The new site
The new site

3. Copy the files

In the Shell client:

cd ~/www
rm -f newsite.example.com/index.html
cp -a wp.example.com/. newsite.example.com/

Or in the file manager: select all files of the old site → "Copy" to the new folder.

4. Replace the site address in the database

The database stays the same — the new site works with it. WordPress stores the site address in the database, so replace it:

cd ~/www/newsite.example.com
wp search-replace 'http://wp.example.com' 'http://newsite.example.com' --all-tables
Copying and replacing the address
Copying and replacing the address
  • If the old site worked over HTTPS, replace https://wp.example.com.
  • Check without changes first: add --dry-run to the command.
  • Other CMS: the site address is in their config (Joomla — configuration.php, OpenCart — config.php and admin/config.php, Laravel — APP_URL in .env).

Open the new domain — the site should work.

The site on the new domain
The site on the new domain

5. SSL, email, redirect

  • Issue a certificate for the new domain: Let's Encrypt.
  • If the old domain had email, create a mail domain and mailboxes for the new one: Mail domain.
  • Redirect the old domain to the new one to keep visitors and search positions: leave only an .htaccess with a 301 redirect in the old site folder — Redirects.
RewriteEngine On
RewriteRule ^(.*)$ https://newsite.example.com/$1 [R=301,L]

Deleting the old site in the panel also deletes its folder with files. Delete it only after checking the new site, and make a backup first: Backups.

Questions and answers
No, the site domain name cannot be changed after creation. Create a site for the new domain and move the files.
No, the new site uses the same database. In WordPress replace the site address in it with wp search-replace.