I think that 9.5 GB Swap should be enough for most scenarios, so I would just enlarge the / (sda1) partition.
Resizing partitions with data always has a small risk of data loss. In addition you'd have to move the extended / swap partition first because you cannot resize the other partition otherwise. Maybe it would be easier to create a new partition on the free space and copy all the /var content to it, then mount it as /var in linux. If this is suitable depends on your data structure (sizes of /home, /var etc.)
@Croydon And that would work? It won't mess up my ISPconfig configuration? If yes, can you help me do that? Do I need to be physically by the server?
Moving a system path on a running system can always be tricky. The steps themselves are quite easy, but you should have a rescue system ready in case you have to revert things, when they go south. Create a new ext4 partition in the free space Mount new partition to e. g. /vartemp Sync all data to the new partition mount e. g. with rsync -av --delete --progress /var/ /vartemp/ Stop important services, that use /var (e. g. apache, mysql) Sync again with the same command to be sure you have latest data there Unmount /vartemp Move /var to /varold Mount /var to the new partition (don't forget to add the entry to /etc/fstab!!!) Check if everything is there (log path, web paths etc.) Reboot the server and check that everything is working correctly. Again: If things go wrong, you will need a rescue system you can boot into, to revert the steps.
@Croydon Thank you very much, even if it's several months overdue. I finally did this and everything works great. I just have some questions. I added Code: /dev/sda3 /var ext4 defaults 0 0 to /etc/fstab. Is that ok or should I add something like this: Code: /dev/sda3 /var ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1 in accordance to the Perfect Server documentation: https://www.howtoforge.com/perfect-server-debian-wheezy-nginx-bind-dovecot-ispconfig-3-p4 ?
Currenty your server has no limitation for the size of websites. If you want to be able to set a max size for a site, then add the quota settings as described in the perfect server guide.