Home > AI > Uncategorized

GoDaddy VPS update successfully

Appreciate the assistance from Samuel Sprickerhoff. The GoDaddy VPS has been successfully upgraded to Alma Linux 9, and I’ve managed to deploy english92.com.

Previously, accessing GoDaddy’s WHM was impossible due to the outdated CentOS 7. Fortunately, I was able to migrate just in time before WHM became inaccessible. I was presented with various options to address this issue.

  1. Update the Operating System to Alma Linux manually, but I need to purchase Website Security, which I have no idea.
  2. Purchase a new server configuration and cancel the current subscription, while refund procedures were uncertain.
  3. Purchase an upgraded server for $1900, but I was unsure about its specifications.

Apart from the financial options mentioned above, Samuel provided a simple solution. With knowledge of the empty server, he suggested simply clicking Dashboard / Server Actions / Rebuild Server and selecting Alma Linux 9. Samuel patiently ensured everything was functioning properly, providing reassurance for the subsequent configurations.

Here is a summary of the steps I took

Attach domain

Update the domain’s nameservers with the domain registrar.

Set up the A record to direct to the VPS server’s IP address within the Domains/DNS settings, and ensure removal of any duplicate A records marked as ‘parked’.

Create cPanel with domain

Afterward, I’ll be able to establish a cPanel for the domain english92.com and adjust its index.html for browser accessibility.

Install nvm, node, and next.js

I’ve installed the latest version of nvm (0.39.7), with instructions available on its GitHub page, and also installed node 22 (version 22.2.0), matching the version on my local computer.

Config SSL

Initially, switch the AutoSSL provider to Let’s Encrypt via SSL/TSL / Manage AutoSSL. Then proceed to SSL/TSL / Install an SSL Certificate on a Domain to install the Let’s Encrypt generated certificate for the domain english92.com.

If the certificate is not located, consider accessing the cPanel/SSL/TLS portal.

Config SSH

Alma Linux 9 differs slightly from CentOS in that root access is disabled by default.

There are two users. The first user’s username and password are set through Settings/Access/Login credentials. To enable terminal access, the user needs to be enabled via Settings/Access/Admin access.

To access the system via SSH, use the command ssh {user}@ip with the password you’ve set. Then, run sudo su – to switch to the root user.”

For root user, to modify its password, you have several options: 1) access Change root password from the WHM search bar, 2) navigate to Password Modification under WHM/{User logo}, or 3) use WHM/Terminal and execute the passwd command.

By default, terminal access for the root user is disabled. You must enable it through WHM/Terminal.

sudo vi /etc/ssh/sshd_config

# Find this line
PermitRootLogin no
# Change it to 
PermitRootLogin yes

sudo systemctl restart sshd

Afterward, you can execute ssh root@{ip} using the password you’ve configured.

Conclusion

Now, I’m able to access https://english92.com and upload files via the terminal.

Related posts:

Leave a Reply