mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
64 lines
2.5 KiB
Markdown
64 lines
2.5 KiB
Markdown
---
|
|
sidebar_position: 1
|
|
---
|
|
|
|
# General Settings
|
|
|
|
Change ports, domain, enable ssl, etc.
|
|
|
|

|
|
|
|
The General Settings page enables you to edit settings that affect both admin and user panel:
|
|
|
|
- domain to access panels
|
|
- ports to be used
|
|
- update preferences
|
|
|
|
## Set domain for OpenPanel
|
|
|
|
To enable access to both OpenAdmin and OpenPanel through a domain name, such as srv.your-domain.com:2083, follow these three steps:
|
|
|
|
1. Set hostname:
|
|
Set the desired subdomain as server hostname:
|
|
```
|
|
hostnamectl set-hostname server.example.net
|
|
```
|
|
2. Configure DNS:
|
|
Point the subdomain to the public IP of the server.
|
|
Use a tool such as https://www.whatsmydns.net/ to check that domain is pointed to server ip.
|
|
|
|
3. Set in General Settings
|
|
Switch from IP to the domain name in *OpenAdmin > General Settings*.
|
|
|
|

|
|
|
|
## Set IP address for OpenPanel
|
|
|
|
To access OpenPanel and OpenAdmin via server public IP address, choose the "Server IP address" option and click save. The modification is immediate, redirecting you to the designated IP:2087 for the admin panel upon saving.
|
|
|
|

|
|
|
|
## Change OpenPanel port
|
|
|
|
Port configurations for OpenAdmin and OpenPanel interfaces can be modified from their default settings (2087 for OpenAdmin and 2083 for OpenPanel).
|
|
|
|

|
|
|
|
To change the port for the OpenPanel from the default `2083` to another value, you can easily set the desired port in the "OpenPanel Port" field.
|
|
It's important to note that the port must fall within the range of 1000-33000.
|
|
|
|
## Change OpenAdmin port
|
|
|
|
:::info
|
|
NOTE: Changing admin port from 2087 is currently not possible, as external tools such as WHMCS do not have option to set custom port.
|
|
:::
|
|
|
|

|
|
|
|
# Change /openpanel
|
|
|
|
By default, when users add a domain, the addition of "/openpanel" to the domain URL will redirect them to the OpenPanel interface. However, you have the flexibility to customize this, such as changing it to "/awesome," allowing users to access their OpenPanel via "their-domain.com/awesome".
|
|
|
|
To change the "/openpanel" to something else, simply set the value for the "OpenPanel is also available on:" field and click on save. Changes take effect instantly without service interruption.
|
|

|