NameCheap
This document describes how to set up Namecheap as a Cloud Provider on Cloudsania
Last updated
This document describes how to set up Namecheap as a Cloud Provider on Cloudsania
Last updated
1️⃣ Purchase a Virtual Private Server (VPS) Plan
Log in to your Namecheap account and navigate to Hosting. Select VPS Hosting from the drop-down list.
Purchase a VPS hosting plan that best suits your organisation's needs.
2️⃣ Access Your Namecheap Account Dashboard
In your Namecheap account, navigate to the Virtual server hosting list. Find your VPS and click manage.
Here, you'll find a centralized interface showing the details and specifications of your VPS. You can control and monitor various aspects of your VPS without needing to access the server's command line directly.
Navigate to the Cloud Connectors section and click New Connector.
Select Namecheap from the list of cloud service providers.
Provide Your Connector Details:
3️⃣ Configure connector access:
There are two types of connector authentication, choose your preferred type:
Password-Based Authentication
Grant Cloudsania access to your VPS server using the SSH password authentication flow.
For this, you’ll need theroot username
and password
, which is usually provided by Namecheap in your welcome email. The default username is often, root
and you will be able to change or create new usernames after logging in.
Log in to your VPS as root and create a new user via the terminal
Add a new user: Replace new_username with the username you want
Set a password for the new user:
Add the new user to the sudo group to assign administrative privileges so they can execute commands with elevated privileges:
Now that we have successfully created a user , we process to the next step
To improve security, it’s a good practice to disable root SSH login.
Open the SSH configuration file:
Find the line that says PermitRootLogin and change it to:
Change the SSH Port:
While you are editing the SSH configuration file (/etc/ssh/sshd_config), change the SSH port from the default 22 to your preferred port (e.g Port 2222)
Restart the SSH Service:
After making the changes, save and close the file, then restart the SSH service to apply the changes:
Allow the New SSH Port Through the Firewall:
If you are using a firewall, make sure to allow the new SSH port:
For UFW:
Find the line that says PermitRootLogin and change it to:
Make sure to replace 2222 with the port number you selected.
Test SSH with the New User and Port: Note : Before logging out of the root session, open a new terminal and test SSH access with the new user and port:
Disable Root Login Completely (Optional): Once you are able to log in with the new user and new port, you can disable root access altogether: Open the /etc/ssh/sshd_config file again and ensure these lines are present:
Open the /etc/ssh/sshd_config file again and ensure these lines are present:
Restart SSH service again:
📌 Step 2: Configure Connector Access Based on Preferred Connector Authentication Type
✅ Password Based Authentication
Enter VPS Username (Host of the virtual private server Username)
Enter VPC Password (Password of the virtual private server user)
Click create
After successfully creating your NameCheap connector, you will be navigated to the Connector page to view and manage the setup connector.
Disable Root SSH Login: