Setup WordPress on DigitalOcean Cloud Server

Digital Ocean is a fastest-growing developer-friendly cloud hosting solution companies focus on simplicity and scale. Today we are going to learn how to set up (Install) and configure WordPress on DigitalOcean Cloud Server Droplet.

Getting started, you need a domain name to use this One-Click, which you can purchase from any domain registrar You can purchase it from Google Domains, Godaddy, etc.  

If you do not have DigitalOcean account you can create one and get $100 Free credit.

 

Let’s start step by step WordPress setup.

Step 1: Create a droplet

  • Choose an image, go to the marketplace and select WordPress on 18.04.

  • Complete the remaining droplet creation steps.

After that, you’ll need to log into the Droplet via SSH to finish the WordPress setup. This restricts the setup wizard from being visible to the internet until you’re ready to complete it. If you try to visit the Droplet’s IP address before logging into the Droplet, you’ll see a DigitalOcean landing page.

 

Step 2: Access Droplet via SSH

  • Start terminal on your local computer, connect to the Droplet as root. Make sure to substitute the Droplet’s IP address.
ssh root@use_your_droplet_ip

If you did not add an SSH key when you created the Droplet, you’ll first be prompted to reset your root password.

Then, the interactive script that runs will first prompt you for your domain or subdomain.

 

Step 3: Set domain

An A record from the domain (e.g., your-domain.com) to the server’s IP address.

An A record from the domain prefaced with www (e.g., www.your-domain.com) to the server’s IP address.

Next, the script will ask you to enter your domain.

Step 4: Setup WordPress administrative user

Next, the script will ask you to create the administrative user for your new WordPress blog. These are the credentials you will later use to log into your new site from your browser.

  • Enter the email for the admin user which is used for password recovery if needed.

  • Set a username and password.
  • Now enter the Blog Title – This can be changed later through the web interface.

Step 5: SSL(https) configuration

The next step asks if you want to use SSL for your website via Let’s Encrypt, which we recommend.

  • Next, you have the option of configuring LetsEncrypt to secure your new site. Before doing this, be sure that you have pointed your domain or subdomain to this server’s IP address. You can also run LetsEncrypt certbot later with the command ‘certbot –apache’.
Would you like to use LetsEncrypt (certbot) to configure SSL(https) for your new site? (y/n): y
  • Next, you have the option to choose https over http to redirect your traffic.

If you like to redirect all your traffic then select 2 otherwise select 1.

After you respond to these prompts, you’ll see a confirmation message.

WordPress has been enabled at http://your-domain.com Please open this URL in a browser to complete the setup of your site.

At this point, you should visit the Droplet’s IP address in your browser to see your new site and visit http: //[your_domain]/wp-admin to manage it.

Once the installation is complete, you can use the WordPress admin dashboard to customize the new site.

For reference:

  • The MySQL root password is in /root/.digitalocean_password.
  • The web root is /var/www/html, and the WordPress configuration file is /var/www/html/wp-config.php.

 

In addition, We recommend you take a few customized setup steps:

when hosting multiple sites creating an Apache virtual host file for each site maintains the default configuration as the fallback, as intended, and makes it easier to manage changes.

To do so, you’ll need to create two things for each domain: a new directory in /var/www for that domain’s content, and a new virtual host file in /etc/apache2/sites-available for that domain’s configuration.

If you didn’t enable HTTPS during the initial setup script, you can enable it manually at any time after the fact.

Setting up an SSL certificate set up HTTPS on the webserver, which secures the traffic between the server and the clients connecting to it. Certbot is a free and automated way to set up SSL certificates on a server. It’s a part of the WordPress One-Click to make securing the Droplet easier.

To use Certbot, you will need a registered domain and two DNS records:

  • An A record from the domain (e.g., your-domain.com) to the server’s IP address
  • An A record from the domain prefaced with www (e.g., www.your-domain.com) to the server’s IP address

Additionally, if you’re using a virtual hosts file, you’ll need to make sure the server name directive in the VirtualHost block (e.g., ServerName your-domain.com) is correctly set to the domain.

Once the DNS records and, optionally, the virtual hosts files are set up, you can generate the SSL certificate. Make sure to replace the domain in the command.

CMD – certbot –apache -d your-domain.com -d www.your-domain.com

HTTPS traffic on port 443 is already allowed through the firewall. After you set up HTTPS, you can optionally deny HTTP traffic on port 80:

CMD – ufw delete allow 80/tcp

 

Reference:

[1] https://marketplace.digitalocean.com/apps/wordpress

Read More
Harsh Gor Harsh Gor December 19, 2019 0 Comments

Why should Choose WordPress for business Website

Over  19,500,000 websites on the entire web use WordPress technology for his website. This means approx 35% of this entire internet use WordPress. (Source) There are 50,000+ WordPress plugins are listed on official directory, and new ones being continues added daily.

This figure is enough to understand the power of WordPress on Internet.  If we create corporate website or personal blog there no any special change on wordpress. You believed that, WordPress is only for blogger but same technology is for corporate websites.   

 

Let’s understand how to wordpress helps our business.

1. Thousands of professionally designed Theme

ThemeForest, Market of HTML, WordPress Theme, There are more than 11,000 WordPress themes are available. That means, too many options available for select website Design and Look & Feel. There are also categorised on theme based on business like Healthcare, Real Estate, business related theme. We can choose the best suite to us and wordpress developer can customise it based on our requirement.

 

 

 2. Dynamic Website

Static website means, All content are hardcode on HTML page. if you change any thing on website, you have to contact the Web Developer/Designer or we should knowledge of HTML language. Where in dynamic website provide admin panel us for any changes on the website. Like change  on Contact detail, About us, Product etc we can do from that admin panel. Not need technical knowledge for change in website.

 

3. WordsPress Plugin

There are 50,000+ WordPress plugins are listed on official directory. This is a large amount of plugins free/paid available so it saves our lot of time/cost. Like one plugin of Security, SEO Plugin, WooCommerce plugin etc.

 

35% of this entire internet use WordPress.

4. Shopping Cart for Small Business

Small business have number of products and everone looking for present that product on a website.  if you are looking for create your online shopping cart for your business that WooCommerce WordPress plugin will help to design shopping cart website with order, shipping management with payment gateway. 

 

 

5. WordPress is OpenSource

In our business we have to check licence need to purchase before technology used. Here WordPress is open source technology so there are no any licence need to purchase to use on our corporate website. 

Also Server, Database, Operating system (LAMP) are used to host wordpress website are also open source. Like Linux and operating system, Apache as server and MySql as Database and PHP as Programming Language. All stack is open source there is no need to buy a single licence to host wordpress website.

6. No need HTML knowledge for update Website

There are a lot of plugin is available for making drag and drop to design html page. No need to write a single line of code to design page Ex. Page Builder by SiteOrigin helps you. Main problem of static website is that we have to contact Designer/Developer for single change on website but here designer and developer setup wordpress then remaining task we can do.

 

7. Scalable

511,000+ active members in WordPress meetup groups all over the world and 66 countries and 535 cities is where you can find WordPress meetup groups. This is the largest number of developer is ready to provide support. Website developed on wordpress there are no limits to page, blog post, category, etc. We can also use WooCommerce Plugin for developer our business shopping cart.

 

8. Hosting & Server Option = Freedom

WordPress provide Freedom of hosting. We can select any operating system hosting like Windows server, Linux or any other linux version of WordPress will work fine. Also LAMP stack is cheapest and open source technology stack, because of this wordpress hosting is the cheapest.   

9. Security

WordPress is the most hacked into CMS of them all. Out of the 8,000 infected websites analyzed in a study, 74% were built on WordPress. Also in 2017, 4000 WordPress websites got infected with malware coming from a fake SEO plugin. Source This figure shows that website build on WordPress is more chance to hack. One question is raised here they why should we choose WordPress?. As Arkay App also provide WordPress development services. We strick follow standard security step for secure our client website. Because of this there too less chance to hacked of effect by malware.  

 

10. SEO Friendly

We design website because of getting more chances to get business also visibility on Internet. Without SEO website design is worthless. On menaul system of seo is too costly too costly for small business. 

WordPress take care of 80-90% of google crawling issue. Also One SEO Pack moe most popular plugin in WordPress, Also helps to make our website seo friendly. There are also too many seo plugin available that save time and money on SEO. 

We can also write meta-tag, title, description on page for that no need to go on the code side. We can also write image alt tag when image upload time that also save crawling by google.

 

As we know WordPress to many developers, theme, plugin available on the internet. There are too many spam plugin also available which one target website and  infected with malware on it. Before think on decide wordpress development consultant guide, Who know well about wordpress security. Arkay App  web and mobile app development company helps on WordPress website development and implement security step on WordPress website.

Conclusion

These are a basic point to keep in mind while developing a website. While designing a website, the first and foremost thing to keep in mind is that the website should be pleasing to the readers and able to capture their attention.

 

Read More
Arkay Apps Arkay Apps November 27, 2019 0 Comments