Blog

How to test or preview website in a different server

How to test or preview website in a different server

So you’ve migrated your website to a new server or web hosting provider and you want to view your website in the new server before pointing your DNS over?

There are generally three ways for you to achieve this:-

  1. Modify your computer’s host file to add a host entry for your domain to point to the new server IP.
  2. Create a test subdomain in the new server and point the A record for this subdomain to the new server IP.
  3. Ask for a temporary URL from your hosting provider.

What if there’s a better way to achieve this?

How to setup a custom @yourdomain.com email address easily

How to setup a custom @yourdomain.com email address easily

So you have registered a domain name of your own and you now want to create a custom @yourdomain.com email address?

There are generally three ways for you to achieve this:-

  1. Sign up for a web hosting service and create your email account(s) with your hosting provider’s control panel.
  2. Use an email forwarding service by your domain registrar (if supported).
  3. Sign up for an email hosting service like Google WorkSpace (previously known as G Suite or Google Apps for Work) or Office365 account which starts from $6 USD per month.

What if there’s a better way to achieve this?

What is using up all of my server’s RAM?

What is using up all of my server's RAM?

Have your server ever ran out of RAM / Memory? Do you even know if your server ran out of Memory?

You will know that you are running out of Memory if you receive an Out of Memory (OOM) notification from your server or if you have server monitoring tools setup to monitor your CPU, RAM and other usages.

If you do not have a monitoring tool setup to monitor your server, I highly recommend Hetrixtools which offers a comprehensive server monitoring tool for free. You can use my referral link to receive 3 extra Uptime/Server Monitors (making it a total of 18 free monitors).

Now I’m sure that you know how to find out the current RAM usage of your server (Hint: use the free -m command), but do you know what services are consuming your server’s Memory?

What services are consuming your server’s Memory?