Server url is now accessable i must use ip address for admin panel

hi
im new to hestia panel
im successfully installed panel and its work
but when i run host.domain.com:2020 i cant access to admin panel
when go to host.domain.com it says

# Success!

Your new web server is ready to use.

but when add port i cant access to panel
im using custom name server for panel ns1 , ns2 and using cloudflare for adding host subdomain to my domain so i can open server admin panel
please help me
also i have question about laravel installetion but no one answer it please see it also

thanks

v-change-sys-port 2083

2083 is one of the few ports supported by Cloudflare for https

1 Like

I asked almost the same question on Reddit, but didn’t get an answer as well.

https://www.reddit.com/r/webhosting/comments/187m8xg/hestiacpcf_put_hestiacp_control_panel_behind/

i login with ssh
and run this command but says : zsh: command not found: v-change-sys-port
anything else i most do for working ?
just change server port and after that i can login using url.com:2083 ???
all of my project is now up stay up and working ? or need config again ?

Use full path

/usr/local/hestia/bin/v-change-sys-port

After that it should work fine…

command run and says

➜  ~ /usr/local/hestia/bin/v-change-sys-port 2083
cat: /nginx/conf/nginx.conf: No such file or directory
cat: /nginx/conf/nginx.conf: No such file or directory
sed: can't read /nginx/conf/nginx.conf: No such file or directory

now i cant access to panel from web not from old method (ip:2020) and not from new url method (url.com:2083) and not from (ip:2083)
what should i do now ?

is there any way can you help me now ? i need hosting

when goiing to url.com:2083 it says error 503
i have restarted web / system / ip table and more but nothing happend
please help me

Run:

HESTIA="/usr/local/hestia"
/usr/local/hestia/bin/v-change-sys-port 8083
/usr/local/hestia/bin/v-change-sys-port 2083

again say this

➜  ~ HESTIA="/usr/local/hestia"
➜  ~ /usr/local/hestia/bin/v-change-sys-port 8083
cat: /nginx/conf/nginx.conf: No such file or directory
cat: /nginx/conf/nginx.conf: No such file or directory
sed: can't read /nginx/conf/nginx.conf: No such file or directory

For some reason, your zsh shell is not adding HESTIA variable.

I suppose you are running the commands as root so try this:

HESTIA="/usr/local/hestia" /usr/local/hestia/bin/v-change-sys-port 8083

If that doesn’t work, use bash shell.

1 Like

its working
thanks very much
sorry but another question
if i want to change url from host.ulr.com to host.domain.com what should i do ?
change domain

1 Like

So, do you want to change the hostname? Are you sure?

If you are sure, you must use the command v-change-sys-hostname:

Note: I’m not adding neither the HESTIA variable, full path nor sudo, only the command and the argument.

Note 2: before doing any change, you must be sure that your new host newhost.yourdomain.tld has an A record in your DNS pointing to your Hestia server.

Example:

v-change-sys-hostname newhost.yourdomain.tld

After that you should create the web domain for that host and issue a new certificate and you can do both things with one command:

v-add-letsencrypt-host

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.