Knowledge Base

How to Register or Transfer a Domain Name with Oxerv

A domain name is your gateway to creating a recognizable and trustworthy online presence. Whether you're starting a new website or transferring an existing domain, Oxerv ensures a smooth and professional process.

For Egyptian businesses, choosing domain extensions like .com.eg or .eg adds credibility and enhances search engine visibility. Here's how you can register or transfer a domain name with Oxerv and why these country-specific domains are essential.


How to Register a Domain Name

  1. Choose Your Domain Name

    • Select a name that reflects your business, services, or goals.
    • For Egyptian businesses, we recommend .com.eg or .eg to establish a local identity and gain credibility.
  2. Check Availability

  3. Submit Required Documents

    • To register .com.eg or .eg, you must provide proof of your company’s legal status, including:
      • Commercial Registry: Demonstrates that your business is officially registered in Egypt.
      • TAX ID: Confirms that your company complies with local tax regulations.
    • This requirement helps assure your customers of your legitimacy.
  4. Complete the Registration

    • Finalize the registration process with Oxerv, and your domain will be set up quickly and efficiently.

How to Transfer a Domain Name to Oxerv

  1. Unlock Your Domain

    • Access your current registrar and unlock your domain to allow transfers.
  2. Obtain the EPP Code

    • Request the EPP or authorization code from your current provider.
  3. Start the Transfer

    • Head to Oxerv’s domain transfer page, enter your domain name, and provide the EPP code.
  4. Approve the Transfer

    • Confirm the transfer request through the administrative email tied to the domain.
  5. Enjoy Enhanced Management

    • Once the transfer is complete, manage your domain easily via Oxerv’s control panel.

Why Choose .com.eg or .eg for Egyptian Businesses?

  1. Demonstrates Credibility

    • Domain extensions like .com.eg and .eg require legal documentation (Commercial Registry and TAX ID) for registration.
    • This reassures customers that your business is authentic and compliant with Egyptian laws.
  2. Better SEO Performance in Egypt

    • Search engines like Google Egypt prioritize .com.eg and .eg over generic extensions like .com, .net, or .org.
    • This means your website is more likely to appear at the top of local search results, driving traffic from Egyptian audiences.
  3. Local Recognition

    • A country-specific domain extension instantly signals that your business is rooted in Egypt, fostering trust and familiarity with local customers.

Why Register or Transfer with Oxerv?

  • Comprehensive Service: We assist with all aspects of domain registration or transfer, from document submission to setup.
  • Expert Support: Our team ensures the process is seamless and answers any questions you may have.
  • User-Friendly Management: Manage your domain’s DNS settings, renewal schedules, and more via our intuitive platform.
  • Wide Range of Options: Whether you need a global domain or a local one like .com.eg, we’ve got you covered.

Conclusion

Registering or transferring a domain name is more than just a technical step—it's a strategic move to build trust, improve visibility, and establish your online presence. For Egyptian businesses, .com.eg and .eg domains provide unmatched benefits, including credibility and local search engine prioritization.

Click here today and start your online journey with Oxerv, register or transfer your domain and take the first step toward a stronger online identity.

How to Install cPanel on VPS or Dedicated Server (Ubuntu, CentOS, and AlmaLinux)

cPanel is a widely-used web hosting control panel that simplifies server management. Here's a step-by-step guide to installing cPanel on Ubuntu 22.04 LTS, CentOS, and AlmaLinux.


Prerequisites

  1. A fresh server installation (minimal setup).
  2. A public static IP address.
  3. Root access.
  4. Minimum hardware: 2 GB RAM, 20 GB disk space (higher recommended).

For Ubuntu 22.04 LTS (Jammy Jellyfish)

Step 1: Update the System

Make sure your system is up to date:

bash
apt update && apt upgrade -y

Step 2: Set the Hostname

Set an FQDN for the server:

bash
hostnamectl set-hostname server.yourdomain.com

Step 3: Install Perl

cPanel requires Perl to run the installer:

bash
apt install perl -y

Step 4: Install cPanel

Download the cPanel installation script and run it:

bash
cd /home curl -o latest -L https://securedownloads.cpanel.net/latest sh latest

The installation will take some time depending on your server's specifications.

Step 5: Access WHM

Once installed, access WHM (Web Host Manager) at:

arduino
https://your-server-ip:2087

Log in with your root credentials and follow the setup wizard.


For CentOS and AlmaLinux

Step 1: Update the System

Run:

bash
yum update -y

Step 2: Set the Hostname

Set a fully qualified domain name:

bash
hostnamectl set-hostname server.yourdomain.com

Step 3: Disable SELinux

Edit the SELinux configuration file:

bash
nano /etc/selinux/config

Set SELINUX=disabled and save. Then reboot:

bash
reboot

Step 4: Install cPanel

Run the installation script:

bash
cd /home curl -o latest -L https://securedownloads.cpanel.net/latest sh latest

Step 5: Access WHM

Log in via:

arduino
https://your-server-ip:2087

Post-Installation Steps

  1. Activate License: WHM will prompt for license activation.
  2. Set Nameservers: Configure DNS.
  3. Security Hardening: Set up firewalls and other protections.

Key Differences

  • CentOS: Stable but no longer actively developed (CentOS 7 is supported until 2024).
  • AlmaLinux: Actively supported and recommended for new installations.
  • Ubuntu 22.04: A newly supported OS by cPanel, suitable for those familiar with Ubuntu environments.

Conclusion

cPanel installation is now possible on Ubuntu 22.04, making it a versatile choice alongside CentOS and AlmaLinux. Follow the steps above to get started with cPanel on your VPS or dedicated server.

How to Create a New User and Add It to Sudoers

When managing a VPS or Dedicated Server, you might want to create a new user and grant them administrative privileges. This can be helpful when you need to give others access to your server without granting them full root access. Here’s a simple guide to achieve this.

Step 1: Log in to Your Server

To get started, log in to your server via SSH as the root user:

bash
ssh root@your-server-ip

Step 2: Create a New User

You can create a new user by running the following command. Replace newuser with the desired username:

bash
adduser newuser

This command creates a new user and sets up the user’s home directory. You’ll also be asked to provide a password for the new user.

Step 3: Add the User to the Sudo Group

To give the new user sudo privileges, you need to add them to the sudo group. On most distributions, users in the sudo group are granted administrative privileges. Run the following command:

bash
usermod -aG sudo newuser

This command adds the new user to the sudo group, granting them the ability to run commands with elevated privileges.

Step 4: Verify the User’s Access

To verify that the user has sudo privileges, switch to the new user:

bash
su - newuser

Now try running a command with sudo, such as:

bash
sudo ls /root

You should be prompted for the user’s password. If everything is set up correctly, the user will be able to execute the command.

Step 5: Edit the Sudoers File (Optional)

If you need to configure specific sudo privileges or make advanced modifications, you can directly edit the sudoers file by running:

bash
visudo

Make sure to follow the syntax carefully to avoid errors. You can add a line like this to grant full sudo access to the user:

bash
newuser ALL=(ALL:ALL) ALL

Conclusion

That's it! You've successfully created a new user and added them to the sudoers group on your VPS or Dedicated Server. This user now has the ability to execute administrative commands with sudo. You can use this method to add multiple users with administrative rights while maintaining control over your server’s security.

 

How to Install and Connect to a VNC Server on Ubuntu and CentOS VPS: A Simplified Guide

How to Install and Connect to a VNC Server on Ubuntu and CentOS VPS: A Simplified Guide

If you're looking to manage your VPS remotely with a graphical user interface (GUI), installing a VNC (Virtual Network Computing) server is a great option. With VNC, you can access your VPS just like you're sitting in front of it, using your mouse and keyboard to interact with the desktop environment.

In this article, we’ll show you how to install a VNC server on both Ubuntu and CentOS, and how to connect to it remotely.

What Is a VNC Server?

VNC is a protocol that allows you to control a computer remotely by transmitting the graphical desktop to another device. It’s ideal for those who want to manage their server visually (as opposed to using a command-line interface) or need access to desktop-based applications on their VPS.

Why Use VNC?

  • Graphical Interface: Makes it easier to interact with your VPS.
  • Remote Access: Connect from anywhere to control your VPS.
  • Convenience: Perfect for GUI-based tasks or configurations.

Prerequisites

  • A VPS running Ubuntu or CentOS.
  • Root or sudo access to your VPS.
  • Basic familiarity with the command line.

Step 1: Install the Required Packages

For Ubuntu:

  1. Update your system:
bash
sudo apt update && sudo apt upgrade -y
  1. Install the VNC server (we'll use TightVNC as an example):
bash
sudo apt install tightvncserver -y
  1. Install a desktop environment (e.g., XFCE, a lightweight option):
bash
sudo apt install xfce4 xfce4-goodies -y

For CentOS:

  1. Update your system:
bash
sudo yum update -y
  1. Install the VNC server:
bash
sudo yum install tigervnc-server -y
  1. Install a desktop environment (e.g., GNOME or XFCE):
bash
sudo yum groupinstall "GNOME Desktop" -y

Step 2: Configure the VNC Server

For Ubuntu and CentOS:

  1. Set a password for your VNC session:
bash
vncserver

You’ll be prompted to set a password (this will be required when you connect remotely).

  1. Stop the VNC server to configure it:
bash
vncserver -kill :1
  1. Configure the VNC to use the correct desktop environment.
  • For Ubuntu: Edit the xstartup file to start XFCE:
bash
nano ~/.vnc/xstartup

Replace the file’s content with:

bash
#!/bin/sh xrdb $HOME/.Xresources startxfce4 &
  • For CentOS: You might need to use a different startup file or make adjustments based on the desktop environment you installed. For GNOME, you can leave it as is for now.
  1. Make the xstartup file executable:
bash
chmod +x ~/.vnc/xstartup

Step 3: Start the VNC Server

Start the VNC server again:

bash
vncserver :1

The :1 specifies the display number. If you want multiple sessions, you can use :2, :3, etc.

Step 4: Open the VNC Port in the Firewall

You’ll need to open the VNC port in your firewall (default is 5901 for display :1).

For Ubuntu (using UFW):

bash
sudo ufw allow 5901/tcp

For CentOS:

bash
sudo firewall-cmd --zone=public --add-port=5901/tcp --permanent sudo firewall-cmd --reload

Step 5: Connect to Your VPS Using a VNC Client

  1. Install a VNC client on your local machine (e.g., TightVNC Viewer, RealVNC, or TigerVNC Viewer).

  2. Connect to your VPS by entering the VPS IP address and the VNC port. For example:

php
<Your VPS IP>:5901
  1. Enter the password you set earlier to log in.

Step 6: (Optional) Secure the Connection with SSH

By default, VNC is not secure. To protect your data, it’s a good idea to tunnel the VNC connection over SSH:

  1. On your local machine, open a terminal and run:
bash
ssh -L 5901:localhost:5901 your_username@your_vps_ip
  1. Now, connect to localhost:5901 in your VNC client instead of the direct IP.

Conclusion

You’ve successfully installed and configured a VNC server on your VPS running Ubuntu or CentOS, and learned how to connect to it remotely. This gives you a convenient graphical interface to manage your server, especially when handling tasks that are easier through a GUI.

For added security, always use SSH tunneling when connecting via VNC. If you need any help or have questions about setting up VNC on your VPS, feel free to reach out!

STAY TUNED
Image