Over the past month, traffic to this website just spiked and it was all from a post that I published called HOW TO FIX FACEBOOK TOO MANY REDIRECTS

This article has been shared across different social media platforms and also on forums. I honestly didn’t know it would get so much attention and visits. What’s more important though, is that people found the article useful and I have received so many thank you messages and comments. I even received donations for publishing and sharing that article – it has been a very overwhelming experience.

Here’s a snapshot from Google Search Console of the number of Total clicks and Total impressions for the last 3 months. You will notice the spike started at the end of May 2020 which is roughly the same time when I published the article. I can’t say the article has gone viral, it’s just great timing as more people are having this issue and I was able to provide them with some guidance on how to resolve the issue. I guess you can call this GRATITUDE.

Marco Tran The Simple Entrepreneur Traffic Performance

To cater for the surge in traffic and visitors, I decided to just move the website to it’s own hosting VPS. The domain previously was shared amongst other websites I own and the server wasn’t able to handle all the requests from all the websites. I used the donation money to purchase another VPS instance from a local hosting provider. I actually setup my own domain and hosting business called Online Hosting Solutions – you should check it out if you have the time as the domain costs are pretty low. I decided to keep it low to make it more affordable for people. Some of you will say that it’s not the cheapest but that’s fine because I still need to make sure it’s generating some profit to pay for all the fees. These are the specs of the VPS server and the cost is $8.80 per month.

2020 07 10 13 02 03 Shopping Cart Exigent Australia

If you pay using PayPal then the cost comes to $9.33 (PayPal gateway cost was $0.53). I do plan on using BPay in the future to save costs but it does sometimes take 1-2 days for the payment to be cleared, so to speed up the process I decided to just use PayPal for the initial payment.

Marco Tran The Simple Entrepreneur Exigent Hosting PayPal costs

I’m very familiar with transferring websites to different VPS servers, as I’ve done this for work and also for my own personal websites a number of times.

STEPS TO MOVE WEBSITE HOSTING

I will probably document in more detail the step by step procedures in a future post but here’s a summary:

On the old VPS, zip the folder with all the website hosting files

Marco Tran The Simple Entrepreneur zip website

Export (dump) the mysql database

2020 07 11 15 27 07 Marco Tran The Simple Entrepreneur mysqldump database

Purchase the new VPS. This is the specs I used for the new VPS. 1 core CPU, 2GB + 2GB burst RAM, 10GB of storage and 250GB of traffic bandwidth

Marco Tran The Simple Entrepreneur Exigent Hosting PayPal costs checkouts

Install VestaCP – this is a Hosting Control Panel that you can use to host multiple websites on the same VPS. I used the Advanced install settings and I don’t install the MAIL, DNS or SOFTACULOUS features as I have this hosted somewhere else. I recommend you also don’t have MAIL installed as your website can potentially be marked as spam if your MAIL server gets hacked and sends out emails. If you haven’t setup a MAIL server before, I recommend you don’t have this installed.

Marco Tran The Simple Entrepreneur VestaCP Featured Settings

Marco Tran The Simple Entrepreneur VestaCP install process
Marco Tran The Simple Entrepreneur VestaCP install completed

Once VestaCP has been successfully installed, I normally update the password and disable the system backup. I actually backup the VPS to a remote server.

Marco Tran The Simple Entrepreneur VestaCP admin password
Marco Tran The Simple Entrepreneur VestaCP Backup 0

I also delete the default website and database VestaCP creates.

Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING VestaCP delete VPS website 1
Marco Tran The Simple Entrepreneur VestaCP default database

Create the new website in VestaCP admin panel

Marco Tran The Simple Entrepreneur VestaCP add new website
Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING VestaCP add website with SSL

I use Let’s Encrypt for SSL which comes with VestaCP. When moving websites you need to remember that your old VPS is still hosting the live website so when you try to enable the SSL support when creating the new website you may received a Error 15 code. To overcome this issue, I manually copied the SSL Certificate, SSL Key and SSL certificate Authority/Intermediate keys from the old hosting to the new.

Marco Tran The Simple Entrepreneur VestaCP Website SSL Lets Encrypt Certificate Keys

I also created an FTP account on the new website hosting account which will be used to transfer the zip and sql files.

Marco Tran The Simple Entrepreneur VestaCP FTP account

Transfer the zip and sql files from the old VPS to the new VPS.

Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING File transfer using FTP

Unzip the file using the unzip command

Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING unzip backup file

Change the file permission of the folder public_html so that admin has full access

Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING changed permissions

Import the sql file into the database

Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING database mysql import

I also upgraded MariaDB database from version 5 to version 10. You can use version 5 if you want but I decided to upgrade to version 10. To do this you need to edit the /etc/yum.repos.d/MariaDB.repo file and add the following code

# Used to install MariaDB 10 instead of default 5.5
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = https://yum.mariadb.org/10.2/centos7-amd64/
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Then issue these commands to update MariaDB

sudo yum update
sudo yum install MariaDB MariaDB-server
Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING update mariadb
Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING mariadb install confirm
Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING mariadb update completed

To test your new VPS website before going live is to create static DNS entries on your local machine. I use a Windows tool called Hosts File Editor to manage local host entries or you do have the option of just editing the hosts file in windows (C:\Windows\System32\drivers\etc)

Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING Hosts File Editor
Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING Windows Hosts file

Once you have confirmed that the website is working you can update your DNS entries and point the website to the new IP address. You need to do this on your Domain Hosting provider.

Marco Tran The Simple Entrepreneur TOO MUCH TRAFFIC SO MOVING WEBSITE HOSTING DNS entries

Depending on the TTL you set for that DNS entry (in my case it was 600 seconds) the new IP address for the website will be propagated. To test whether it has been propagated you can use a tool described in this article What’s my DNS?

Once again, a big thanks to those who have shared, liked, donated, commented, emailed and provided feedback – without your help I wouldn’t have been able to improve this website.

If this article helped you in any way and you want to show your appreciation, I am more than happy to receive donations through PayPal. This will help me maintain and improve this website so I can help more people out there. Thank you for your help.

HELP OTHERS AND SHARE THIS ARTICLE


4Shares

LEAVE A COMMENT


Subscribe to my newsletter where I will share my journey in affiliate marketing, business, technology, fitness and life in general. Hopefully, this motivates you to also change your journey in life.

Subscribe to my newsletter where I will share my journey in affiliate marketing, business, technology, fitness and life in general. Hopefully, this motivates you to also change your journey in life.