DirectAdmin changes the authorized IP

DirectAdmin changes the authorized IP

Recently, a VPS host changed its IP, and a DA panel (DirectAdmin) happened to be installed on it. After changing the IP, the authorization needed to be updated. I tried it and found that the key authorization was a little different from the previous command. Searching online showed the same operation as before, so I recorded it so that I don’t have to search for it next time I need it.

I just changed the IP, the operating system is still the same CentOS7.9 64bit. Because the entire VPS was migrated to the new IP, there is no data problem.

First update the IP on the server

 # cd /usr/local/directadmin/scripts
#./ipswap.sh Old IP New IP

All search engines say that after doing the above, I still cannot access the panel. In fact, I can access it after the data migration is completed (it may also be because my key was updated last time I authorized it)

If there is a problem, you can update the authorization information.

 # cd /usr/local/directadmin/scripts
# ./getLicense.sh (key)

After completion, restart DA

 systemctl restart directadmin.service

There are probably not many people using DA panel nowadays, but this panel was quite popular many years ago. It was very convenient to buy a permanent license for more than 300 yuan and install it on a VPS to build a website. I still have 4 licenses that I bought from Sailfish Network in 2012. I have to give it a thumbs up. After more than 10 years, I can still find someone to replace the license at any time!

<<:  VMISS: Hong Kong VPS annual payment starts from 85 yuan, Korea/Japan/Los Angeles CN2 GIA/AS9929 monthly payment starts from 21 yuan

>>:  Kurun: $59/year-2GB/40GB/1TB@500M/China Telecom CN2 GIA/China Unicom CUII9929/China Mobile CMIN2

Recommend

What does cutover mean in network engineering?

1. Main contents of this article What types of bu...

Huawei starts charging patent fees for 5G mobile phones. Why?

On the afternoon of March 16, Huawei Technologies...

I would like to say a few more words about this communication failure...

​These days, everyone is paying attention to the ...

Cabling Encyclopedia | Cabling of Inter-Chassis Links (ICLs)

When it comes to cabling inter-chassis links (ICL...

Fiber Polarity and Its Role in Switching Technology

Before we delve into the world of switching techn...

Let's talk about short links

Introduction I am working on a promotion system r...

Choosing a PoE Standard for Your Design: PoE, PoE+, and PoE++

Power over Ethernet standards have important diff...

Google open-sources network-opt for optimizing network topology

The Internet has become the most important issue ...

Retail Colocation Data Center vs. Wholesale Data Center: How to Choose

Wholesale data centers offer more control, while ...