Change hestiacp domain / login

Hello,

I initially installed HestiaCP just for testing purposes, so the domain didn’t matter much to me. However, I’ve grown quite fond of it and would now like to use it permanently.

During the installation, I specified the hostname of my server:
https://v22024.......300072.luckysrv.de:8083

However, I would prefer a cleaner and more user-friendly URL like https://control.domain.de — and ideally, without redirecting HTTPS requests to port 8083.

I’ve done some research and came across the following resources:

I’m just not entirely sure whether this is actually what I’m looking for.

Can anyone help?

Hi @eXe

Yes, that’s the way to change the hostname:

v-change-sys-hostname control.domain.de

Keep in mind that in Hestia, there are two instances of Nginx: one used for your websites and another used by Hestia itself, which listens only on port 8083 (or another available port). You cannot use ports 80 or 443 for Hestia because they are already in use by your websites.

However, you can create a web domain such as control.domain.de under one of your users and apply the cp template. This will proxy requests from http[s]://control.domain.de to https://YourIP:8083.

These templates cp.tpl and cp.stpl are made by @eris and you can find them here:

For Nginx only:

For Nginx + Apache2:

2 Likes