How to Change aaPanel IP Address on Ubuntu
aaPanel is a popular control panel that simplifies server management. However, when you change your server's IP address, some additional steps might be required to ensure aaPanel functions properly.
Keep your panel open in the background while performing the following steps.
Here are the steps you need to follow to change the IP address of aaPanel on Ubuntu:
1. First, log in to your server via SSH.
2. After logging in, enter the following commands one by one:
cd /etc/netplan
sudo nano /etc/netplan/50-cloud-init.yaml
(If this command doesn’t work, your netplan file path might be different. After typing cd /etc/netplan
, type ls
to check the path of the netplan file.)
A screen showing the network configuration will appear. Here, you only need to change the IP address and Gateway.
Replace the existing IP address (e.g., xxx.xxx.xxx.x/24
) with your new IP address, without deleting the /24
part. Also, change the Gateway section to your new IP address's Gateway.
Example: 192.168.130.1
3. After making the changes, press CTRL + O to save and CTRL + X to exit the file. Then, use the command below to apply the changes:
sudo netplan apply
After applying the changes, your SSH connection might drop. Close the existing connection and reconnect to your server using the new IP address.
First, log in to aaPanel using your old IP address: http://ip-address:8888
Go to the Settings menu on the left side.
Then, find the old IP address on the screen and replace it with the new IP address. After this, you should be able to access your panel using the new IP address.
Changing the IP address of aaPanel on Ubuntu is quite simple if you follow the correct steps. After setting your new IP address, make sure to check your DNS and firewall settings. Once done, you’ll be able to access aaPanel without any issues.
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket