I'm fairly new to this whole control panel thing, having always used dedicated web hosts before, I've now set up a VPS. I'm just trying to get my head around the whole hostname thing. I'm currently accessing ISPConfig via IP address. On my ISPConfig installation I have my hostname set up as mywebsite.co.uk, and I also have an additional website which is myotherwebsite.co.uk. Currently mywebsite.co.uk is pointed at my old host, but once I change the DNS around, will my site point at \www\ as opposed to \www\clients\client1 where myotherwebsite.co.uk is pointing. I hope this makes sense? Thank you.
the hostname has to be a subdomain like we use it in the install guides, so you can e.g. use server1.mywebsite.co.uk as hostname but you can not use mywebsite.co.uk as this would mean that mywebsite.co.uk cant be used anymore for websites or mail addresses. So it is important that you use a subdomain like server1.mywebsite.co.uk and not mywebsite.co.uk as hostname.
Ah ok so it sounds like I may have messed up my installation altogether then. Would it be quicker for me to just start from scratch rather than trying to change the hostname is a ton of places?
Changing the hostname is not complicated, just change it in: /etc/postfix/main.cf /etc/hosts /etc/hostname /etc/mailname and reboot the server / vps.
thanks, I've been on it for three hours or so, hostname reverts back to default, I didn't even think of trying to change it in VPS control panel haha