Skip to main content

Configuring Reverse Proxy on VPS USA for Faster Performance

In the modern web hosting landscape, speed, security, and scalability are crucial for delivering an optimal user experience. Businesses, developers, and digital marketers are constantly seeking ways to improve website performance while maintaining secure and manageable infrastructure. One of the most effective solutions for achieving this is implementing a reverse proxy on a VPS USA . In this article, we will explore what a reverse proxy is, its benefits, and provide a step-by-step guide on configuring it on a VPS USA . Additionally, we’ll reference how 99RDP can provide reliable VPS hosting solutions tailored for this setup. Understanding Reverse Proxy A reverse proxy is a server that sits between client devices and web servers, forwarding client requests to backend servers. Unlike a traditional proxy, which acts on behalf of the client, a reverse proxy acts on behalf of the server. This setup offers multiple advantages, including load balancing, caching, SSL termination, and enha...

Title: How to Set Up a Lightweight Email Server on Singapore Private RDP

Running your own email server can be a rewarding task—giving you control over your communications, better security, and independence from third-party providers. With a Singapore Private RDP, especially from reliable providers like 99RDP, you get the flexibility and control needed to host a lightweight email server for personal use, small business communication, or testing purposes.

In this comprehensive guide, we’ll walk you through the process of setting up a lightweight email server using Postfix, Dovecot, and Roundcube on a Singapore Private RDP. This setup ensures minimal resource consumption and maximum deliverability, ideal for private or low-volume usage.



Why Host Your Email Server on Singapore Private RDP?

Using a Singapore-based Private RDP brings several advantages:

  • Low latency for Southeast Asian users

  • Stable and secure infrastructure

  • High uptime guarantees from providers like 99RDP

  • Customizability for installing your own server stack

  • Data sovereignty compliance with Singapore’s PDPA (Personal Data Protection Act)

Hosting your mail server on a Singapore Private RDP is a cost-effective and reliable option, especially when you're targeting users in Asia-Pacific.

Prerequisites

Before starting, make sure you have:

  • A Singapore Private RDP (preferably running Ubuntu 22.04 or Debian 12)

  • Root or sudo access

  • A domain name (e.g., example.com)

  • DNS access to configure MX, A, and PTR records

  • Minimum 1GB RAM and 1 CPU core (for low-volume usage)

  • Firewall access or ufw configured

If you haven’t purchased your RDP yet, you can get one from 99RDP, which offers custom configurations, 24/7 support, and blazing-fast Singapore servers.

Step 1: Update Your RDP Server

sudo apt update && sudo apt upgrade -y

Install essential packages:

sudo apt install curl wget git ufw unzip net-tools -y

Step 2: Set the Hostname and FQDN

Ensure your hostname matches your domain’s subdomain (e.g., mail.example.com):

sudo hostnamectl set-hostname mail.example.com

Edit your /etc/hosts:

127.0.0.1   localhost
127.0.1.1   mail.example.com mail

Step 3: Configure DNS Records

On your domain registrar:

  • A Record:
    mail.example.com -> your RDP IP

  • MX Record:
    @ -> mail.example.com (Priority: 10)

  • SPF Record (TXT):
    "v=spf1 mx ~all"

  • DKIM & DMARC (optional for now)

Wait for DNS propagation before proceeding.

Step 4: Install Postfix (SMTP Server)

sudo apt install postfix -y

During installation, choose:

  • General type of mail configuration: Internet Site

  • System mail name: example.com

After installation, modify Postfix configuration:

sudo nano /etc/postfix/main.cf

Add or edit the following lines:

myhostname = mail.example.com
mydomain = example.com
myorigin = /etc/mailname
inet_interfaces = all
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost
home_mailbox = Maildir/
smtpd_banner = $myhostname ESMTP

Then restart Postfix:

sudo systemctl restart postfix

Step 5: Install Dovecot (IMAP Server)

sudo apt install dovecot-core dovecot-imapd -y

Configure Dovecot:

sudo nano /etc/dovecot/conf.d/10-mail.conf

Change:

mail_location = maildir:~/Maildir

Enable authentication:

sudo nano /etc/dovecot/conf.d/10-auth.conf

Uncomment:

disable_plaintext_auth = no

Restart Dovecot:

sudo systemctl restart dovecot

Step 6: Add Mail User

Create a new Linux user for email:

sudo adduser mailuser

This user will automatically get a Maildir when Dovecot is active and the first mail is delivered.

Step 7: Install Roundcube Webmail (Optional but Recommended)

Install Apache, PHP, and MySQL:

sudo apt install apache2 mariadb-server php php-mysql php-intl php-mbstring php-xml php-common php-curl php-zip php-imagick -y

Start and secure MariaDB:

sudo mysql_secure_installation

Create a database and user for Roundcube:

CREATE DATABASE roundcubemail;
GRANT ALL PRIVILEGES ON roundcubemail.* TO 'roundcube'@'localhost' IDENTIFIED BY 'yourpassword';
FLUSH PRIVILEGES;

Download Roundcube:

cd /var/www/html
wget https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6-complete.tar.gz
tar -xvzf roundcubemail-1.6.6-complete.tar.gz
mv roundcubemail-1.6.6 roundcube

Set correct permissions:

chown -R www-data:www-data /var/www/html/roundcube

Now navigate to http://your-rdp-ip/roundcube/installer in your browser and follow the instructions.

Step 8: Open Required Ports

sudo ufw allow 22/tcp
sudo ufw allow 25/tcp
sudo ufw allow 143/tcp
sudo ufw allow 587/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable

Step 9: Test the Email Server

You can test sending mail from your server using:

echo "Test email body" | mail -s "Test Subject" your-email@example.com

And log in via Roundcube or Thunderbird using:

  • Username: mailuser

  • Password: (Linux password you set earlier)

  • Incoming server (IMAP): mail.example.com, port 143

  • Outgoing server (SMTP): mail.example.com, port 587

Step 10: Add SSL with Let's Encrypt (Optional but Secure)

Install Certbot:

sudo apt install certbot python3-certbot-apache -y

Run:

sudo certbot --apache -d mail.example.com

This will automatically secure Roundcube and other services.

Bonus: Add DKIM and DMARC (for Better Email Deliverability)

For higher deliverability and to avoid spam folders:

  • Install OpenDKIM

  • Generate keys and publish the public key as a DNS TXT record

  • Configure Postfix to sign outgoing mail

You can also test deliverability using mail-tester.com.

Conclusion

Setting up a lightweight email server on Singapore Private RDP can seem technical, but it’s highly manageable if you follow the steps systematically. You not only save money by avoiding third-party providers but also gain full control over your data and email routing.

Using 99RDP as your hosting provider ensures optimal performance, especially for Asia-Pacific users. Their Singapore Private RDPs are optimized for tasks like self-hosting, automation, and secure communication tools like email servers.

Need Help or Want It Pre-Configured?

If you’d rather skip the technical setup and get a pre-configured email server on a Singapore RDP, contact 99RDP and request a custom email hosting RDP. Their support team can help you with tailored deployments and security hardening.


Comments

Popular posts from this blog

Using Finland RDP for A/B Testing Finnish Landing Pages in a Native Environment

If your business or marketing campaign targets Finnish users, A/B testing your landing pages in a native environment is crucial. The accuracy of your results depends heavily on how closely your testing environment mimics that of your target audience. This is where Finland RDP (Remote Desktop Protocol) comes into play. A Finland RDP provides access to a desktop hosted on a server physically located in Finland with a native Finnish IP address . This setup is perfect for marketing teams, developers, and growth hackers looking to test variations of landing pages as they appear to actual Finnish users. In this article, we'll explore how using a Finland RDP improves A/B testing accuracy, boosts campaign effectiveness, and ensures you stay ahead of local competitors — all while using resources like those offered by 99RDP . Why Native Environment Testing Matters for A/B Testing 1. Geo-Specific User Behavior User behavior in Finland can differ significantly from that of users in othe...

Deploying Dev Environments and CI/CD Tools on New York RDP

In today’s fast-paced software development world, speed, efficiency, and availability are essential. Development teams need a reliable infrastructure that can be accessed remotely, supports various tools, and facilitates automation without constant hands-on maintenance. This is where New York RDP services from 99RDP step in as a game-changer. Deploying development environments and CI/CD (Continuous Integration and Continuous Deployment) tools on a New York RDP not only accelerates the development cycle but also enhances collaboration, version control, and system performance. Why Choose New York RDP for DevOps and CI/CD? Deploying dev environments and CI/CD pipelines traditionally requires powerful infrastructure and consistent uptime. A New York RDP offers: 1. High Uptime and Reliability With enterprise-grade data centers in New York, RDP services from 99RDP guarantee near-100% uptime. Developers can push code, build projects, and run tests anytime without interruptions. 2. P...

Los Angeles RDP for Web Scraping and Local SEO Tools: What You Need to Know

In the digital marketing world, web scraping and local SEO tools are vital weapons in the arsenal of businesses and marketers aiming to stay competitive. Whether you're extracting data from competitors’ websites, monitoring SERPs, or managing Google My Business listings, the reliability, location, and speed of your remote desktop play a critical role. That's where a Los Angeles RDP (Remote Desktop Protocol) comes into play. This article explores why using a Los Angeles-based RDP is a smart move for web scraping and local SEO efforts, and how top-tier providers like 99RDP can help you streamline operations with secure and high-performance RDP services. Why Location Matters: The Advantage of Los Angeles RDP When you're engaged in local SEO or web scraping tasks targeting the West Coast of the United States , proximity to the server matters. Key Benefits of a Los Angeles RDP: Faster Response Time for Local Data : Since the RDP is located in Los Angeles, you’ll exp...