For the redirect you could also basicly use a alias in the current hosting of your new domain, then check in the nginx config the http_host value and rewrite it, if it isnt the new domain:
if ($http_host = olddomain.tld) {
rewrite (.*) https://www.newdomain.tld$1;
}
well, just to contribute with my profile, personally I used to run lamp stack with no interface on vps for several years… then, when secure https connection became mandatory (to not get that ugly “not secure site” on chrome, and I found out the benefits in performances on using nginx I switched to Vesta, for saving myself from hassles (nginx and let’s encrypt out of the box). And now to hestia, since Vesta looks kinda outdated. Also, I always used cheap unmanaged vps services (no cpanel, no plesk), with maybe 1 gb ram…
Hi very interesting.
At the moment i have set up second hestiacp locally even with dynamic ip for my home automation and for other testing porposes.
this works very well.
but for some software i neet to have one domain and different ports for different functions"websites"
but when i enter https://mylocalserver.com:8082 the port is not given through because of my template…
does someone have a hint what i can do in this siutation? especially when i use this dynamic nginx template file from hestiacp which generates the appropriate nginx.conf when selected in hestia admin?