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

How Apple's iCloud Private Relay powers enterprise VPNs

Apple's iCloud Private Relay service offers p...

How to enable owners and facility managers to realize smart buildings

Building owners and facility managers are turning...

Business Benefits of Fiber Optic Network Connectivity

As businesses expand globally to gain access to n...

The US court's suspension of the TikTok ban will take effect this Sunday

There was another new change today. The U.S. Dist...

Why TCP will be replaced by UDP

Why's THE Design is a series of articles abou...

How will 5G mainstreaming affect the Internet of Things in 2023?

The number of Internet of Things (IoT) endpoints ...

Practice: How to connect two routers through WAN and LAN ports respectively?

The IP addresses of two routers in a network segm...

How AI and 5G will drive the next wave of innovation

[[427625]] AI is expected to transform every indu...

Animation explains TCP. If you still don’t understand, please hit me up

Preface The TCP three-way handshake process is a ...

The key role of optical transceivers in passive optical network technology

Passive Optical Network (PON) technology has beco...

Network charges are more affordable and 5G demand is gradually released

Data released recently on the official website of...

Knowledge literacy in the 5G era: Understanding the Internet of Things

What is IoT The Internet of Things (IoT) is abbre...

SDN: From ideal to reality

SDN is more than 10 years old. When it first came...