😎 Installing WordPress + SSL in cheap (VPS) with only 2 commands: to use as destination pages in Affiliate campaigns and CPA networks

Hey, guys!

Today I want to share with you a WordPress installation method that’s incredible that few people seem to know about!

Of course, many people should use this method here, but we do not do tutorials for those who know, but for those who do not know yet.:grinning:

So let’s get down to business!

You will need a few things before you begin!
Are they:

  • 1 domain registered on your behalf
  • VPS account
  • SSH access program
  • 2 Installation commands
  • Ubuntu 14.04.5 x64 or 16.04.2 x64 installed on the server

This tutorial is not for shared hosting.
What I will teach you here is to create your own wordpress website on your own server. And it can be very economical depending on the cases.

This is nothing new, but I believe it can help many people who do not know this method yet.

With this method you will have an extremely fast and optimized WordPress site.

Now let’s go to the tutorial!

DOMAIN

Step 1: Get a domain of your choice I indicate namecheap for this or if you prefer a free domain access the freenom. If you already have a great domain, you can skip this step.

VPS CLOUD

Step 2: Choose a company that provides you with a good VPS plan for you to create your server. I point out two excellent that in my opinion are the best options in the market and DigitalOcean and Vultr.

With your domain and your VPS account already in your hands we will now go to the premises.

I’m not going to teach you how to do DNS pointing because this changes from company to company. But be easy to do this is easy to ask in the support of your server that they will provide you with all the data.

But to facilitate I leave here the DNS addresses of the two companies that I indicated below. And for those who already know how to do DNS pointing this will be no problem.

DNS DIGITAL OCEAN

DNS VULTR

CREATING A SERVER IN DIGITALOCEAN

[details=Summary]
Step 3: Now we are going to start creating your first server. This is like taking candy as a child.:joy:

A. I am going to teach how to create the server by the panel of the two companies that I indicated. The WordPress installation processes will be the same. Let’s start with Digital Ocean.

B. Access your Digital Ocean account and just above the right side of the screen click on create drop as shown in the image.

C. On the next screen select the distribution to create your server in this case I will select Ubuntu 14.04.5 x64 for the sake of taste and strategy of installing WordPress because when we use Easy Engine we want it to be as optimized as possible is with This version of Ubuntu it will install Php 7 which is faster than installing Php 5.6.


D. Select the server size. The first option is enough.

F. Select the additional options in my case I always choose these options.

E. Enter a name to identify your server and click Create Server.

F. You will be redirected to a screen like this and you can see the construction of your server in real time as shown.

After the server is created you will receive an email with the access data so that you can access and administer your server via SSH. With this data in hand we will move on to the next step that is to install your WordPress with SSL certificate from Let’s Encrypt.

[/details]

CREATING A SERVER IN VULTR

[details=Summary]

Go to the Vult panel and select the image option.

Select a location for your server.

Select the option Ubuntu 14.04 x64 in the tutorial of Digital Ocean I explained why.

Then choose the server size. This option is enough. But you can choose a larger one if you prefer.

Select the options as shown in the picture.

And finally get an identification name for the server. And click on Deploy Now!

In the next screen you can see the server being created in real time wait until finished and click on manage.

The server has been created now the access data is available to you in the Vultr panel itself. In this case you do not have to wait for the data to arrive by email as in Digital Ocean and you also do not need to change a password in SSH.

[/details]

Once you’ve learned this path you’ll never want to know about using shared hosting.

ACCESS SERVER VIA SSH

[details=Summary]

Step 4: Before starting this step it is important to already have a domain and have DNS pointed to your server.

A. You will need a program to access your server via SSH. I use mobaxterm to download access this link.

B. After you download, install and open the program. You will see an interface as the image. Click on sessions and then on SSH will open another option on remote host enter the IP number that you received by email as shown previously and click OK.



C. You may already see the SSH screen of the server. Enter the username that also came by email that is usually (root).

D. Then you will be asked to enter the password that was also sent by email add and press enter. Will ask if you want to save password select YES!


E. Now you are already inside your server it will ask you to change your password for security reasons. Choose a strong password and keep it in a safe place that is easy for you to access.



Done that now let’s go to the next step which is to install Easy Engine on your server that will optimize and install everything that is required for a WordPress installation run at high level.[/details]

EASY ENGINE INSTALLATION

[details=Summary]
Step 5: install Easy Engine this is very easy via SSH just copy it paste this little command line
wget -qO ee rt.cx/ee && sudo bash ee press enter and let the joke begin.

A. In the installation you will be asked for your name and email to put the necessary data. This is important for you to receive information about updates. Press enter again to proceed with the installation.

B. When the installation is complete you will see a success message as the image shows. Now we will install WordPress already with an embedded SSL certificate.

[/details]

INSTALLATION WORDPRESS + SSL LET’S ENCRYPT

[details=Summary]
Step 6: Install WordPress with Let’s Encrypt certificate for this copy and paste this little command
ee site create yoursite.com --wp --letsencrypt into SSH just like you did in Easy Engine installation. But remember to check if your domain has already been propagated by the web for this access to this site https://www.whatsmydns.net being all right proceed with the installation.

A. After wordpress is installed you will see a screen like the image below where it shows the WordPress installation data. You will also see a question if you want to install the security certificate. Make note of the WordPress access data and type Y and press enter to install the certificate.

Ready now you have a WordPress with SSL working on high performance installed on a server of yours alone!

B. Now I just wanted to teach you but one thing to copy and paste this little command crontab -l in SSH it serves to automatically renew the license of your certificate via cronjobs.

[/details]

Here’s the proof!

That’s it, I hope you enjoyed it and that it will help you in some way.

Now that you already have an account at Digital Ocean or Vultr the maximum you will have to do to create a WordPress website is to quickly create a server and use the two commands that do pretty much all the site installation work with spending security certificate At most 5 minutes of your time.

The domain chosen for the tutorial was just a tribute to the forum! He had not been on the air for a long time!

If I was confused at some point in the explanation I apologize. I have some difficulties in the English language.

9 Likes

Really nice! Thank you! I didn’t know about Easy Engine. And I see it has also the option to install Wordpress Multisite w/ Subdomain. That way you can host a lot of sites on 1 Wordpress install. And with the WordPress MU Domain Mapping plugin you can map real domain names to the sites.

1 Like

Good one @brazukas Thanks.

We’ll sue you for that :slight_smile:

2 Likes

Thank you @dimitri
Yes there really is the multisite option I’ve never used but it should also work just fine. :slight_smile:

1 Like

Thank you @Adnan
Then we negotiate the copyright on the hehehe domain.:grinning:

I’m sorry for the links, but only with them is it possible for new subscribers to receive $ 10 bonus to use in their accounts. Otherwise people will have to pay to use the account 5 or 10 dollars.

I use a similar setup, with Wordpress multisite. I didn’t know about Easy Engine so I installed a complete web control panel (ispconfig).
I now have 55 websites on a $5 Vultr vps and it works fine.
To hide the fact that all websites are hosted on the same IP I use Cloudflare. This provides full page caching and also SSL.

2 Likes

I already tried using ispconfig, but eaten it did not work very well and I do not understand why!

They have complete setup manuals… It is just copy/paste of commands…


I installed it many times, and it was always ok.
But that Easy Engine is also nice… If you find some way to handle your email then ispconfig is not really needed.

1 Like

Yes it is possible to give you with emails with ease I use zoho mail works very well. And frankly after I discovered easy engine I do not want to know about panels anymore because they consume much of the server memory.

Do you use the same domain with subdomains for the different sites? I saw a solution now to map different domains to wordpress multisites but didn’t try it yet.

That idea with Cloudflare is amazing. I will try this, thanks!

2 Likes

If you setup Wordpress multisite you first have to choose between using subdomains of the main domain or using subdirectories. If you use subdomains of the main domain then later you can use the “WordPress MU Domain Mapping” plugin to map real domains to the subdomains.

So I use real domains, registered for free (google; register .tk domains) and I registered some cheap 50 and 75 cents domains with namecheap. This is only cheap for a year. Will see later if it is worth it to pay full price.

The basic setup was easy. But it took some time to get ssl to work in combination with cloudflare. But now it works fine. If you use SSL on your Wordpress server with the subdomains then you have to specify FULL SSL in Cloudflare in the Crypto settings. This took a while to find out. Cloudflare uses default settings which were wrong for my goal.

2 Likes

@johncena69 Here is the tutorial I told you!
I hope it helps you!

1 Like

You can manage multiple WordPress sites from one place?

You can use Wordpress with the multi site configuration; https://codex.wordpress.org/Create_A_Network
Standard you can make many Wordpress websites on a subdomain of the main domain you configure. With a plugin it is possible to map domains to the subdomains. From the outside the websites will look like normal Wordpress websites. But you configure them all from the same interface. The plugin I use is the “WordPress MU Domain Mapping” plugin.

3 Likes

I’ve never used this plugin I do not know how it works a tutorial would be cool! :grin:

@MPrules
Here is the tutorial I told you via skype!
I hope it helps you!