Sooner or later a VPS needs to change shape: more memory or disk for a growing site, or an exact copy to use as a staging server or a fresh start. This guide explains how resizing and cloning work for a Domain India VPS, what you ask support to do and what you do yourself inside the server, and the checks that stop a clone from clashing with the original.
To resize a Domain India VPS to a bigger plan, open a ticket. Expect a short restart, then grow the partition and filesystem yourself if the new disk space does not show up. Shrinking a disk in place is not possible, so moving to a smaller plan means a new VPS and a migration. For a clone, ask support whether they can copy your VPS, or build the copy yourself: order a second VPS, copy the data across with rsync and a database dump, then change the hostname, secrets and anything that sends mail or runs on a schedule.
A Domain India VPS is self-managed: you get root access and look after the operating system and software yourself. The optional panels are none, CyberPanel, Webuzo or DirectAdmin; cPanel is not offered on VPS. The commands in this guide run on your own VPS, not on shared hosting.
1. Resizing and cloning: what each one means
- Resizing changes the resources of the same server: more vCPU, RAM or disk. The IP address, data and settings stay as they are.
- Cloning makes a second, separate server that starts as a copy of the first. It gets its own IP address, and from then on the two servers go their own way.
Resize when one server is running out of room. Clone when you need a staging copy, a test bed for an upgrade, or a second server to split the load.
2. Before you change anything: take your own backup
Whatever you do next, have a copy of your data that lives outside the VPS:
# Databases (MySQL or MariaDB)
mysqldump --all-databases --single-transaction --routines --events | gzip > /root/all-db-$(date +%F).sql.gz
# Website files and configuration
tar -czf /root/www-etc-$(date +%F).tar.gz /var/www /etcDownload both files to your computer or send them to off-site storage. For a scheduled setup, see automated backups with cron and rclone. If you rely on snapshots, ask support what your plan includes before you start.
3. Resize to a bigger plan
Compare the plans first. Each VPS plan is a fixed combination of vCPU, RAM and NVMe disk, so resizing means moving to the next plan up.
- 2 vCPU
- 4 GB DDR4 RAM
- 128 GB NVMe SSD Storage
- 3 TB Monthly Bandwidth
- 4 vCPU
- 8 GB DDR4 RAM
- 256 GB NVMe SSD Storage
- 5 TB Monthly Bandwidth
- Ask for the upgrade.Open a ticket from /client/support/new naming the VPS and the plan you want. Support confirms the price difference before anything changes.
- Plan for a restart.New CPU and memory apply after the VPS restarts, so choose a quiet time and tell your users.
- Check the new resources.Log in over SSH and run
nproc,free -handlsblk. - Grow the disk if needed.If
lsblkshows a bigger disk butdf -hdoes not, extend the partition and filesystem (section 4).
Moving to a smaller plan. CPU and RAM can go down, but a disk can't be shrunk in place without risking the data on it. To move to a smaller plan, order the smaller VPS, migrate your sites to it (section 5), and cancel the old one at its renewal. Note that VPS plans are not refundable once provisioned.
4. Grow the partition and filesystem after a disk upgrade
A bigger virtual disk doesn't automatically make a bigger filesystem. Check first:
lsblk # size of the disk and its partitions
df -hT / # size and type (ext4 or xfs) of the root filesystemIf the disk (for example vda) is larger than its root partition (for example vda1), grow the partition, then the filesystem:
# growpart comes from cloud-guest-utils (Debian/Ubuntu) or cloud-utils-growpart (AlmaLinux/Rocky)
sudo growpart /dev/vda 1
# ext4
sudo resize2fs /dev/vda1
# xfs (default on AlmaLinux and Rocky Linux)
sudo xfs_growfs /Your device names may differ (sda, nvme0n1p1), and some images use LVM, where you run pvresize and lvextend -r instead. Read lsblk carefully and replace the names. If you're unsure, stop and ask support before running a resize command: a wrong device name can damage the disk.
5. Clone a VPS
Ask support first
Open a ticket saying which VPS you want copied and why. Support can tell you whether a copy can be made for you and what it costs; a copy needs a second VPS on your account either way.
Or build the copy yourself
This method works between any two Linux servers, including moving to a new plan:
- Order the second VPSwith the same operating system family and version as the first, from VPS hosting.
- Install the same software.Web server, PHP or your runtime, database server, and any panel you use, at the same versions.
- Copy the files.From the new server, pull the website files across:
rsync -aHAX --numeric-ids root@OLD_IP:/var/www/ /var/www/ - Copy the databases.Dump them on the old server, copy the file across and import it on the new one.
- Copy the configuration you need.Web server virtual hosts, cron jobs, firewall rules and TLS certificates. Don't copy
/etcwholesale; it contains network and identity settings that belong to the old server. - Test before switching.Point your computer's
hostsfile at the new IP and check every site. - Switch DNSwhen you are happy, if the clone is replacing the original.
For moving whole websites, the website migration guide walks through the same steps in more detail.
6. After cloning: make the copy its own server
An exact copy still thinks it is the original. Change these before you put it to work:
hostnamectl set-hostname and update /etc/hosts./etc/ssh/ssh_host_*, run ssh-keygen -A, and create a new /etc/machine-id.siteurl and home) if the copy runs under a staging name.noindex rule, so search engines don't index it.7. Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
df -h shows the old size after an upgrade | The partition or filesystem was not grown | Follow section 4 |
| The VPS doesn't come back after a restart | A service failed at boot, or a firewall rule blocks SSH | Open a ticket so support can check it with you |
| The clone sends duplicate emails or orders | Cron jobs and queues were copied too | Disable them on the copy (section 6) |
| Sites on the clone load the old server | DNS or hard-coded URLs still point to the original | Update DNS, hosts or the application's URL settings |
8. Where Domain India fits
Domain India VPS plans run on KVM with NVMe storage and full root access. Resizing and copies go through support, and the work inside the server is yours. If you'd rather not manage a server at all, shared hosting or the App Platform may suit you better; see VPS vs shared hosting.
Frequently asked questions
How do I upgrade my Domain India VPS to a bigger plan?
Open a support ticket naming the VPS and the plan you want. Support confirms the price difference first. The new resources apply after a restart.
Why doesn't my VPS show the extra disk space after an upgrade?
The disk grew but the partition and filesystem did not. Run lsblk and df -hT, then grow the partition with growpart and the filesystem with resize2fs for ext4 or xfs_growfs for xfs.
Can I downgrade my VPS to a smaller plan?
A disk can't be shrunk in place safely, so moving to a smaller plan means ordering the smaller VPS, migrating your data to it and cancelling the old one at renewal. VPS plans are not refundable once provisioned.
Can Domain India clone my VPS?
Open a support ticket saying which VPS you want copied. Support will tell you whether a copy can be made for you. You can also build the copy yourself on a second VPS with rsync and a database dump.
Does a cloned VPS keep the same IP address?
No. A clone is a separate server with its own IP address. Update DNS if the clone is replacing the original.
What should I change after cloning a server?
Give it a new hostname, regenerate SSH host keys and the machine ID on a disk-level copy, change secrets and passwords, and disable cron jobs and mail that should only run on the original.
Ready to grow your server? Compare VPS plans, or open a ticket to ask for an upgrade or a copy of your VPS.
KVM virtual servers with NVMe storage and full root access, from Starter to Enterprise.
Compare VPS plans