Era Host hosting
EraHost – Free Domain, Cheap Hosting!
Client Area
Support 24/7
Menu

BD Hosting for VPS: Setup and Use

3 min read
20.05.2026

Setting up and using a VPS (Virtual Private Server) from a Bangladeshi hosting provider (BD Hosting) is relatively straightforward. Here is a step-by-step guide to help you configure and use your VPS effectively.

BD Hosting VPS Setup
BD VPS — Dhaka local for latency, Singapore/EU for global mix.

For related geo-hosting decision topics, see Why Do Users from Uzbekistan Prefer European Hosting?, 2GB Hosting — What Kind of Website?, and Opera Reseller Hosting.

Choose a VPS Provider

Key Features to Look For:

  • Server location (Bangladesh or nearby).
  • Customizable plans (CPU, RAM, storage).
  • Scalability (easy upgrades).
  • Managed vs. unmanaged VPS options.
  • Local payment methods (bKash, Nagad, etc.).

Purchase a VPS Plan

After selecting a provider:

  1. Visit their website and choose a VPS plan based on your requirements:
    • Operating System: Linux (Ubuntu, CentOS) or Windows Server.
    • Resources: CPU cores, RAM, storage, and bandwidth.
  2. Register an Account: Provide your details and domain name (if needed).
  3. Complete Payment: Use available local methods like bKash, Nagad, or credit cards.
  4. Receive Login Details: Once payment is confirmed, you will receive VPS access credentials via email.

Access Your VPS

For Linux VPS:

  • Access your VPS via SSH.
  • Open a terminal (or use tools like PuTTY for Windows).
  • Enter the SSH command:
  • ssh root@<your-vps-ip>
  • Input the root password provided by the hosting provider.

For Windows VPS:

  • Access using Remote Desktop Protocol (RDP).
  • Open the Remote Desktop application (pre-installed on Windows).
  • Enter your VPS IP address.
  • Log in with the username and password provided.
Linux VDS
High performance for your projects
  • Root access and flexible setup
  • Control panel
  • NVMe disks
  • DDR5
Linux VDS

Basic Setup for Your VPS

Step 1: Update the Server

Keep your server up-to-date with the latest packages and security patches.

For Linux:

# Update and upgrade packages
sudo apt update && sudo apt upgrade -y

For Windows: Use the Windows Update feature.

Configure a Firewall

Set up a firewall to secure your VPS.

For Linux (Using UFW):

# Allow SSH

sudo ufw allow OpenSSH



# Enable the firewall

sudo ufw enable

For Windows: Use the Windows Defender Firewall to block unwanted connections.

Install a Web Server

If hosting a website or application, install a web server like Apache or Nginx.

Apache (Ubuntu):

sudo apt install apache2 -y

sudo systemctl start apache2

sudo systemctl enable apache2

Nginx (Ubuntu):

sudo apt install nginx -y

sudo systemctl start nginx

sudo systemctl enable nginx

Access your web server in a browser using your VPS IP:

http://<your-vps-ip>

Install a Database Server

Install a database server for storing application data.

MySQL:

sudo apt install mysql-server -y

sudo mysql_secure_installation

PostgreSQL:

sudo apt install postgresql -y

sudo systemctl start postgresql

Install a Control Panel (Optional)

A control panel simplifies server management:

  • cPanel: Paid option with a user-friendly interface.
  • CyberPanel: Free and open-source.
  • Webmin: Lightweight and free.

Install CyberPanel (Example):

sh <(curl https://cyberpanel.net/install.sh | bash)

Deploy Your Website or Application

For Websites:

  1. Upload files via FTP or use Git for deployment.
  2. Configure your web server to point to your website directory.

For CMS (WordPress):

  1. Install WordPress:
  2. wget https://wordpress.org/latest.tar.gz
    
    tar -xvzf latest.tar.gz
    
    mv wordpress /var/www/html/
  3. Set permissions:
  4. sudo chown -R www-data:www-data /var/www/html/wordpress
    
    sudo chmod -R 755 /var/www/html/wordpress
  5. Configure Apache or Nginx for WordPress.

Secure Your VPS

Disable Root Login:

Prevent direct root access for security.

  1. Edit the SSH configuration:
  2. sudo nano /etc/ssh/sshd_config
  3. Change:
  4. PermitRootLogin no
  5. Restart SSH:
  6. sudo systemctl restart ssh

Create a New User:

sudo adduser newuser

sudo usermod -aG sudo newuser

Install SSL/TLS:

Secure your website with HTTPS.

  1. Install Certbot (for Let's Encrypt):
  2. sudo apt install certbot python3-certbot-nginx -y
  3. Configure SSL:
  4. sudo certbot --nginx

Monitor and Optimize

Monitor Resources: Use tools like htop or top for real-time monitoring:

htop

Optimize Performance:

  • Use caching (e.g., Redis, Memcached).
  • Optimize images and compress static files.

Backup Your VPS

Set up automated backups:

  1. Use hosting provider backup tools.
  2. Schedule local backups with rsync or similar tools.

Example:

rsync -av /var/www/html /backup/

Handle Traffic Surges

  • Use a CDN (e.g., Cloudflare) to offload traffic.
  • Enable DDoS protection if available.

By following these steps, you can set up and manage a VPS for various use cases like website hosting, application deployment, or personal projects.

Frequently asked questions
Dhaka VPS to Dhaka user: 5-15ms. Singapore VPS to Dhaka user: 50-80ms. Frankfurt to Dhaka: 150-200ms. For latency-critical apps (gaming, real-time), local wins. For a typical website where 100ms TTFB doesn't matter, Singapore is the popular compromise (still close, broader provider choice, often cheaper). Frankfurt makes sense only if you also serve EU traffic.
Uptime track record (look for status pages or third-party monitoring like UptimeRobot history), DDoS protection (some local providers have minimal upstream, attacks knock them offline), and payment methods accepting BDT or local cards. Many international providers don't accept BDT-issued cards directly; local providers often only accept BDT — pick based on what you can pay.
Ubuntu 22.04 LTS is the safer default — broader community, more current documentation, apt is simpler than yum/dnf for newcomers. CentOS line is in flux (CentOS Stream isn't a replacement for the old CentOS); use AlmaLinux or Rocky Linux if you specifically want RHEL-compatible. For 95% of VPS setups, Ubuntu LTS is the right pick.
Disable root SSH login (PermitRootLogin no), require SSH key auth (PasswordAuthentication no), enable UFW with only ports you need (22, 80, 443), install fail2ban for SSH protection, enable automatic security updates (`unattended-upgrades` on Ubuntu), and set strong passwords on any remaining password-auth services (DB, panel). That's the 20% of work for 80% of the security gain.
Related articles
Email Hosting Script: Setting Up Your Own Email Hosting Solution
Osclass Hosting — Best Hosting Setup for Osclass Websites
Migrating Away from TimThumb PHP Script: Complete Security Guide