<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tutorials &#8211; King Host Coupon</title>
	<atom:link href="https://kinghostcoupon.com/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>https://kinghostcoupon.com</link>
	<description>Domain Hosting VPS/Servers coupon codes</description>
	<lastBuildDate>Fri, 03 Dec 2021 04:13:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.5</generator>
	<item>
		<title>How to change SSH port on Linux?</title>
		<link>https://kinghostcoupon.com/how-to-change-ssh-port-on-linux/</link>
					<comments>https://kinghostcoupon.com/how-to-change-ssh-port-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Fri, 03 Dec 2021 04:12:51 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=539</guid>

					<description><![CDATA[<p>This article will show you how to change the SSH port on Linux to help you avoid someone using the default SSH port configuration (port 22) to attack to detect... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-change-ssh-port-on-linux/">How to change SSH port on Linux?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This article will show you how to change the SSH port on Linux to help you avoid someone using the default SSH port configuration (port 22) to attack to detect the root account password of VPS/Server Linux.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-540" src="https://kinghostcoupon.com/wp-content/uploads/2021/12/ssh.jpg" alt="ssh" width="600" height="312" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/12/ssh.jpg 600w, https://kinghostcoupon.com/wp-content/uploads/2021/12/ssh-300x156.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>You can review the article: <a href="https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/">https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/</a></p>
<h2><span id="Kiem_tra_port_SSH_dang_listen">Check the SSH port is listening</span></h2>
<p dir="ltr">We need to check which port is being used by SSH to listen for SSH connections to the Linux server. You use the following command to check the current SSH port:</p>
<p dir="ltr"><code><span style="color: #ff0000;"><em>netstat -atnp | grep "ssh"</em></span></code></p>
<p>As the example below you will see the current SSH port is: 22</p>
<p><img decoding="async" class="aligncenter size-full wp-image-542" src="https://kinghostcoupon.com/wp-content/uploads/2021/12/check-the-port-ssh.jpg" alt="Check the port SSH" width="695" height="173" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/12/check-the-port-ssh.jpg 695w, https://kinghostcoupon.com/wp-content/uploads/2021/12/check-the-port-ssh-300x75.jpg 300w" sizes="(max-width: 695px) 100vw, 695px" /></p>
<h2>Configure SSH port changes on Linux</h2>
<p>You need to specify the port number used for this SSH port change. For example, &#8220;6888&#8221;, after deciding on a new SSH port number, we need to check whether any services are using the &#8220;6888&#8221; port.</p>
<p><code><span style="color: #ff0000;"><em>netstat -atnp | grep ":6888"</em></span></code></p>
<p>If the output has no service programs in use, then port “6888” is available. We will edit the SSH service configuration file &#8216; <code><em>/etc/ssh/sshd_config</em></code> &#8216; as user root.</p>
<p>Search for the line &#8216; #Port 22 &#8216;, remove the &#8216; # &#8216; at the beginning, and replace it with the port you want to use. If the configuration file is using a different number, replace the content &#8221; Port &#8221; with the port number you want.</p>
<p dir="ltr">For example, &#8220;6888&#8221;, you should avoid choosing well-known digital ports, ie common ports for other services.</p>
<p dir="ltr"><code><span style="color: #ff0000;"><em>Port 6888</em></span></code></p>
<p dir="ltr">Save the configuration file, check the SSH service configuration syntax, and check whether the syntax is incorrect. If the syntax is wrong, please correct it before continuing.</p>
<p dir="ltr"><code><span style="color: #ff0000;"><em>sshd -t</em></span></code></p>
<h2>Open firewall rule for new SSH port</h2>
<p>If you are using a firewall on a Linux system, you need to open the port to allow connections to the newly configured SSH port (6888) before restarting the SSH service.<br />
The example below is using the &#8216;iptables&#8217; firewall.</p>
<p dir="ltr"><code><span style="color: #ff0000;"><em>iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 6888 -j ACCEPT</em></span></code></p>
<p>In the case of some cloud servers/VPS services, they have an additional firewall layer to serve themselves, this layer will filter the traffic before it enters the VPS/Linux server. If this is the case, then you need to open the port on the provider&#8217;s service interface.</p>
<h2>Start SSHd service and test</h2>
<p>Restart the SSH service for SSHd to apply the new configuration.</p>
<p><code><span style="color: #ff0000;"><em>systemctl restart sshd</em></span></code></p>
<p>Next is to test the SSH connection to the new SSH port-port 6888. Remember not to close the terminal or exit the SSH connection during this period. If you log out but are not sure whether you have connected to SSH using the new port, you need time to connect to a separate conforce for this Linux server/vps to fix it.</p>
<p>Now open an SSH Client program like putty on Windows or use the command &#8216; <code><span style="color: #ff0000;"><em>ssh</em> </span></code>&#8216; on Linux with the option &#8216; <code><span style="color: #ff0000;"><em>-p portnumber</em></span></code> &#8216; to test the newly configured SSH port service connection.</p>
<p>So, the way to change the SSH port on Linux is simple, right? Good luck!</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-change-ssh-port-on-linux/">How to change SSH port on Linux?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-change-ssh-port-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to setup CloudFlare CDN  in WordPress?</title>
		<link>https://kinghostcoupon.com/how-to-setup-cloudflare-cdn-in-wordpress/</link>
					<comments>https://kinghostcoupon.com/how-to-setup-cloudflare-cdn-in-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Tue, 16 Nov 2021 18:17:04 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CloudFlare]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=445</guid>

					<description><![CDATA[<p>Cloudflare is one of the famous free CDN service providers to speed up your website. Do you want to use Cloudflare CDN for your WordPress website but don&#8217;t know how... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-setup-cloudflare-cdn-in-wordpress/">How to setup CloudFlare CDN  in WordPress?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Cloudflare is one of the famous free CDN service providers to speed up your website.</p>
<p>Do you want to use Cloudflare CDN for your WordPress website but don&#8217;t know how to install it?</p>
<p>Many people think that Cloudflare is very difficult to install. Therefore, in this article, I will guide you to set up Cloudflare in WordPress.</p>
<p>It will help improve website speed a lot!</p>
<p><img decoding="async" class="aligncenter size-full wp-image-446" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/setup-cloudflare-on-wordpress.jpg" alt="Setup CloudFlare on WordPress" width="620" height="343" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/setup-cloudflare-on-wordpress.jpg 620w, https://kinghostcoupon.com/wp-content/uploads/2021/11/setup-cloudflare-on-wordpress-300x166.jpg 300w" sizes="(max-width: 620px) 100vw, 620px" /></p>
<h2>What is Cloudflare CDN?</h2>
<p>Cloudflare is a very popular free CDN provider these days. This is a large network of global CDN servers.</p>
<p>They automatically cache static files and deliver content quickly.</p>
<p>In addition to CDN service, Cloudflare is also an anti-DDOS service trusted by many large companies around the world.</p>
<p>The tool monitors all traffic to the web, and blocks suspicious traffic before it reaches the server.</p>
<p>Cloudflare offers a basic free plan suitable for small and medium websites.</p>
<p>There are also paid plans starting at $20 per month.</p>
<p>Cloudflare is a very good choice for small businesses looking for a free CDN.</p>
<p>However, if you want to use the full features of Cloudflare, you will need the Business plan which costs $200/month.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-447" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-price.jpg" alt="Cloudflare price" width="774" height="272" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-price.jpg 774w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-price-300x105.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-price-768x270.jpg 768w" sizes="(max-width: 774px) 100vw, 774px" /></p>
<h2>How to install Cloudflare on a WordPress website?</h2>
<p>This is quite simple, consisting of two main steps:</p>
<ol>
<li>You can use the Cloudflare single-click option in cPanel<br />
Install it manually on the Cloudflare website.</li>
<li>The first method is the easiest way to activate Cloudflare CDN on WordPress.</li>
</ol>
<h3>Method 1: Use the Cloudflare single-click option in cPanel</h3>
<p>As I said above, cPanel is currently the number one popular hosting management control panel today, hosting providers often provide the option to help you set up Cloudflare CDN more easily in WordPress right in the middle of the web. admin dashboard.</p>
<p>These providers have the Cloudflare app built into cPanel and we can activate it with just a few clicks.</p>
<p>This option works similarly for most other integrated hosting providers.</p>
<p>For reference, I will show the setup process on cPanel right below.</p>
<p>To get started, log into cPanel and navigate to the ‘Software’ section.</p>
<p>Then click on the &#8216;Cloudflare&#8217; icon</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-448" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-cpanel.png" alt="Cloudflare cPanel" width="650" height="251" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-cpanel.png 650w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-cpanel-300x116.png 300w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>To enable a Cloudflare CDN (free) for your website, simply click on the ‘Set Up’ button to continue.</p>
<p>You will then see a popup asking us to create a Cloudflare account or connect to an existing one.</p>
<p>Next, a message stating that the CDN is activated will appear. Once done, the Cloudflare CDN will be live on the website.</p>
<h3>Method 2: Set up Cloudflare manually on the website</h3>
<p>Use this method, it only takes a few more minutes.</p>
<p>To get started, you need to visit <a href="https://dash.cloudflare.com/sign-up">Cloudflare.com</a> and click on the ‘Sign Up’ button.</p>
<p><img loading="lazy" decoding="async" class="aligncenter  wp-image-456" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-signup.jpg" alt="cloudflare signup" width="605" height="309" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-signup.jpg 1414w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-signup-300x153.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-signup-1024x523.jpg 1024w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-signup-768x392.jpg 768w" sizes="(max-width: 605px) 100vw, 605px" /></p>
<p>On the next page, enter your email address and password to create a Cloudflare account, then click ‘Create Account.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-450" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/create-account-cloudflare.png" alt="Create Account Cloudflare" width="550" height="444" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/create-account-cloudflare.png 550w, https://kinghostcoupon.com/wp-content/uploads/2021/11/create-account-cloudflare-300x242.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></p>
<p>Next, you need to enter your website URL.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-451" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/add-url-cloudflare.png" alt="Add URL Cloudflare" width="550" height="272" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/add-url-cloudflare.png 550w, https://kinghostcoupon.com/wp-content/uploads/2021/11/add-url-cloudflare-300x148.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></p>
<p>On the screen that appears, you will be asked to select packages.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-452" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/select-cloudflare-free-plan.png" alt="Select Cloudflare free plan" width="550" height="320" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/select-cloudflare-free-plan.png 550w, https://kinghostcoupon.com/wp-content/uploads/2021/11/select-cloudflare-free-plan-300x175.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></p>
<p>Of course, we will choose the FREE plan, if you are eligible, choose the paid plans with more features.</p>
<p>After that, Cloudflare will show us a list of all DNS records that the system finds.</p>
<p>This will include subdomains.</p>
<p>DNS records passed through Cloudflare will have an orange cloud icon.</p>
<p>The rest of the DNS records that don&#8217;t go through Cloudflare will have a gray cloud icon.</p>
<p>You need to review the list to make sure that your main domain is active on Cloudflare with the orange icon.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-453" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/verify-dns-to-setup-cloudflare.png" alt="Verify DNS to setup Cloudflare" width="550" height="369" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/verify-dns-to-setup-cloudflare.png 550w, https://kinghostcoupon.com/wp-content/uploads/2021/11/verify-dns-to-setup-cloudflare-300x201.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></p>
<p>When verifying DNS records, please click the Continue option at the bottom.</p>
<p>In the next and final step, Cloudflare will ask you to update the nameservers.</p>
<p>You will be asked to change your nameservers and point them to Cloudflare&#8217;s nameservers.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-454" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-nameservers.png" alt="Cloudflare nameservers" width="550" height="611" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-nameservers.png 550w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-nameservers-270x300.png 270w" sizes="(max-width: 550px) 100vw, 550px" /></p>
<p>Done! It will now take a few minutes to update the nameserver and activate Cloudflare.</p>
<p>Once activated, you will see a success message on your Cloudflare dashboard.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-455" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-activated-successfully.png" alt="cloudflare activated successfully" width="550" height="214" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-activated-successfully.png 550w, https://kinghostcoupon.com/wp-content/uploads/2021/11/cloudflare-activated-successfully-300x117.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></p>
<p>So I showed you how to set up Cloudflare on WordPress. If you have any questions or need help, you can leave a comment below this article.</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-setup-cloudflare-cdn-in-wordpress/">How to setup CloudFlare CDN  in WordPress?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-setup-cloudflare-cdn-in-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix XML Sitemap 404 Not Found error in Yoast plugin?</title>
		<link>https://kinghostcoupon.com/fix-xml-sitemap-404-not-found-error-in-yoast-plugin/</link>
					<comments>https://kinghostcoupon.com/fix-xml-sitemap-404-not-found-error-in-yoast-plugin/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Mon, 08 Nov 2021 16:11:21 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XML Sitemap]]></category>
		<category><![CDATA[Yoast]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=410</guid>

					<description><![CDATA[<p>After successfully installing WordPress, you will need to install some plugins, such as Yoast SEO. Do you use Yoast’s plug-in Wordpess SEO (also known as Yoast SEO or Wordpess SEO)... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/fix-xml-sitemap-404-not-found-error-in-yoast-plugin/">How to fix XML Sitemap 404 Not Found error in Yoast plugin?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>After <a href="https://kinghostcoupon.com/how-to-install-wordpress/">successfully installing WordPress</a>, you will need to install some plugins, such as Yoast SEO.</p>
<p>Do you use Yoast’s plug-in Wordpess SEO (also known as Yoast SEO or Wordpess SEO) to optimize Wordpess SEO and use it to create a sitemap for your website/blog?</p>
<p>And when submitting the sitemap to the Google Search Console, a 404 Not Found error message will appear. And you try to check your sitemap under the path domain.com/sitemap.xml or domain.com/sitemap_index.xml, it returns a 404 Not Found error (error not found).</p>
<p>So is this an error caused by a Yoast SEO plugin or hosting/server error or you misconfigured Yoast SEO?</p>
<p>Let us find out the reasons and how to fix the 404 error when using WordPress SEO to create a sitemap in the following content.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-413 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/fix-xml-sitemap-error-404-yoast-seo.jpg" alt="Fix XML Sitemap error 404 Yoast Seo" width="596" height="397" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/fix-xml-sitemap-error-404-yoast-seo.jpg 768w, https://kinghostcoupon.com/wp-content/uploads/2021/11/fix-xml-sitemap-error-404-yoast-seo-300x200.jpg 300w" sizes="(max-width: 596px) 100vw, 596px" /></p>
<h2>Fix 404 error for sitemap created by Yoast SEO</h2>
<p>First of all, We would like to confirm that the 404 error of this sitemap is not caused by the Yoast SEO plugin. If you have time can read the answer page in English, this is also confirmed by the author of the plugin. So what is the cause of the error?</p>
<p>Before finding out why you must ensure that the sitemap creation feature in the Wordpess SEO plugin is enabled. If it is not enabled, 404 errors are natural. If you have opened it but still have errors, please continue reading below</p>
<h3>1. Error due to static path structure (Permalinks) changes.</h3>
<p>You won&#8217;t know if it&#8217;s the static path or not, but you can try the following. If it can be fixed, it&#8217;s because the path is static, if not, it&#8217;s okay.</p>
<p>You access the Admin page -&gt; Settings  -&gt; Permalinks then click Save without having to change anything.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-411 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/save-permalinks.jpg" alt="Save permalinks" width="658" height="345" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/save-permalinks.jpg 802w, https://kinghostcoupon.com/wp-content/uploads/2021/11/save-permalinks-300x157.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/save-permalinks-768x402.jpg 768w" sizes="(max-width: 658px) 100vw, 658px" /></p>
<h3><span id="2_Sitemap_khong_co_du_lieu">2. Sitemap has no data</span></h3>
<p>Log in to the WordPress Website, select Edit Post or Page.</p>
<p>Expand the <strong>Advanced</strong> section and select <strong>&#8216;Allow search engines to show this Post in search results?&#8217; </strong>to <strong>“Yes”</strong> for the Post or Page being edited.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-412 size-full" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/allow-search-engines-to-show.png" alt="Allow search engines to show" width="601" height="422" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/allow-search-engines-to-show.png 601w, https://kinghostcoupon.com/wp-content/uploads/2021/11/allow-search-engines-to-show-300x211.png 300w" sizes="(max-width: 601px) 100vw, 601px" /></p>
<h3><span id="3_Loi_do_rewrite_chua_duoc_thiet_lap_tren_Web_serverHosting">3. Error because rewrite has not been set up on Webserver</span></h3>
<p>If your 404 error still exists, you can check the configuration file of the webserver to see if a rewrite is added. If a rewrite is not added, please follow the steps below to use Apache and Nginx web servers.</p>
<h4><em><span id="Apache">Apache</span></em></h4>
<p>If you use Apache, just add the following code to the .htaccess file and save it.</p>
<p><strong><em><span style="text-decoration: underline;">Note:</span></em></strong> back up the .htaccess file in case something goes wrong.</p>
<p><code><span style="color: #ff0000;"><em># Yoast SEO - XML Sitemap Rewrite Fix</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteEngine On</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteBase /</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteRule ^locations.kml$ /index.php?sitemap=wpseo_local_kml [L]</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteRule ^geo_sitemap.xml$ /index.php?sitemap=geo [L]</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&amp;sitemap_n=$2 [L]</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?yoast-sitemap-xsl=$1 [L]</em></span></code><br />
<code><span style="color: #ff0000;"><em># END Yoast SEO - XML Sitemap Rewrite Fix</em></span></code></p>
<h4><em><span id="Nginx">Nginx</span></em></h4>
<p>If you are using Nginx and the sitemap has a 404 error, then open the domain configuration file in Nginx at the path /home/domain.com/public_html/nginx.conf and add the following code:</p>
<p><code><em><span style="color: #ff0000;">rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;</span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&amp;sitemap_n=$2 last;</span></em></code><br />
<code><em><span style="color: #ff0000;">location ~ ([^/]*)sitemap(.*).x(m|s)l$ { </span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/sitemap.xml$ /sitemap_index.xml permanent;</span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/([a-z]+)?-?sitemap.xsl$ /index.php?yoast-sitemap-xsl=$1 last; </span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last; </span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&amp;sitemap_n=$2 last;</span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/news-sitemap.xml$ /index.php?sitemap=wpseo_news last; </span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/locations.kml$ /index.php?sitemap=wpseo_local_kml last;</span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/geo-sitemap.xml$ /index.php?sitemap=wpseo_local last; </span></em></code><br />
<code><em><span style="color: #ff0000;">rewrite ^/video-sitemap.xsl$ /index.php?yoast-sitemap-xsl=video last; </span></em></code><br />
<code><em><span style="color: #ff0000;">}</span></em></code></p>
<p>Hope the above description can help you solve the error you are facing. Use the comment box below to tell us what you think about this article<img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/fix-xml-sitemap-404-not-found-error-in-yoast-plugin/">How to fix XML Sitemap 404 Not Found error in Yoast plugin?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/fix-xml-sitemap-404-not-found-error-in-yoast-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install WordPress?</title>
		<link>https://kinghostcoupon.com/how-to-install-wordpress/</link>
					<comments>https://kinghostcoupon.com/how-to-install-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Fri, 05 Nov 2021 18:23:10 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[FastPanel]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=390</guid>

					<description><![CDATA[<p>If you want to create your own website or blog quickly and professionally, then WordPress is a top choice because it was created for non-programmers and is being used by... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-wordpress/">How to Install WordPress?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you want to create your own website or blog quickly and professionally, then WordPress is a top choice because it was created for non-programmers and is being used by millions of people around the world. Here is the simplest WordPress installation that anyone can do.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-392 size-full" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/how-to-install-wordpress-step-by-step.jpg" alt="How to Install WordPress step by step" width="527" height="373" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/how-to-install-wordpress-step-by-step.jpg 527w, https://kinghostcoupon.com/wp-content/uploads/2021/11/how-to-install-wordpress-step-by-step-300x212.jpg 300w" sizes="(max-width: 527px) 100vw, 527px" /></p>
<h2>What is WordPress?</h2>
<p>WordPress is open-source software that uses the two most popular web programming languages today, PHP and MySQL.</p>
<p>WordPress was originally created for just a personal blogging job like Google&#8217;s Blogger, but the community of WordPress users has increased over time and with that, the great development of WordPress does not stop. for personal blogs, but also for e-commerce websites, company introductions, car buying, and selling, or hotel booking websites.</p>
<p>Currently, according to statistics, up to 25 of the top 100 websites in the world use WordPress source code.</p>
<h2>You should use the huge advantages of WordPress</h2>
<p><strong>Ease of use</strong>: This is one of the favorite features of using WordPress sites. It only takes a few clicks to install a WordPress website, and it only takes a few hours to get used to the intuitive interface, logical structure, and extremely simple operation. You don’t need to be a programmer. People who don’t know anything about coding can install WordPress and use it normally.</p>
<p><strong>Large community</strong>: Many people around the world use WordPress because of its ease of use. The problems that arise when installing WordPress and managing WordPress can be helped by this very enthusiastic, fast, and efficient large community.</p>
<p><strong>So many plugins</strong>: Plugins are extensions installed into WordPress to add more features to your website. The community often uses it, so they have created a lot of plugins to meet all your needs.</p>
<p>There are some other reasons that will make you fall in love with WordPress, for example, a huge theme store, easy to develop into a professional website, and supporting up to 169 languages.</p>
<h2>Need to distinguish between WordPress.com and WordPress.org before installation</h2>
<p><strong>WrordPress.com</strong>: A completely free domain name, hosting, and website (such as Google’s Blogger) service. With WordPress.com, you don&#8217;t need to spend a penny to get your website up and running, and the WordPress installation process is very simple, just register a nickname on WordPress. However, this free version has some limitations, such as limited hosting, no plugins, and the use of paid domain names.</p>
<p><strong>WordPress.org</strong> is a library of free WordPress source codes, plugins, themes, and supporting documents recommended by the community to create professional-looking websites. This is a huge WordPress library containing WordPress source code, plugins, themes, and supporting documentation.</p>
<h2>Preparation before installing WordPress</h2>
<p>Installing WordPress.com is easy, just register for an account. In this article, we will provide a WordPress.com tutorial in a later part, but for now, we are focusing on creating a professional website from WordPress.org. The following tutorial is about installing WordPress for private hosting from the source code downloaded from WordPress.org. This is what to prepare:</p>
<p>First, you need to use Cpanel to prepare for hosting. Usually, today’s shared hosting uses cPanel very commonly, but in this article, we use FastPanel and install it on Vultr’s VPS ( Don&#8217;t forget <a href="https://kinghostcoupon.com/vultr-coupon-codes/">Vultr has free $100 credit</a> now). Before we had a very simple <a href="https://kinghostcoupon.com/what-is-fastpanel-how-to-install-fastpanel/">FastPanel installation tutorial</a>. Regarding the host management page, it is relatively similar now, so the installation is similar. You can easily complete it on different types of host management pages.</p>
<h2>Steps to install WordPress</h2>
<ol>
<li>Upload the source code of WordPress to the server</li>
<li>Create and connect to the database</li>
<li>Run the WordPress installation (setup wizard)</li>
</ol>
<p><strong>Step 1</strong>: Upload the wordpress.zip file to the server</p>
<p>First, we need to download the latest version of WordPress from <a href="https://wordpress.org/download/">WordPress.org</a>.</p>
<p>There are two ways to upload the zip file you just downloaded to the server:</p>
<ul>
<li>Use File Manager (in Cpanel) to upload zip files.</li>
<li>Use FTP Clients like <a href="https://kinghostcoupon.com/what-is-filezilla-how-to-use-filezilla-client/">FileZilla</a> to connect to the FTP server and upload a zip file.</li>
</ul>
<p>However, in this article, I will show you how to upload using the file manager in the hosting control panel that anyone can use below.</p>
<h3>Upload WordPress by File Manager</h3>
<p>Log in to your hosting account, then click on File Manager to open. In FastPanel, Files is File Manager.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-393 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/files-fastpanel.jpg" alt="Files Fast Panel" width="707" height="294" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/files-fastpanel.jpg 1902w, https://kinghostcoupon.com/wp-content/uploads/2021/11/files-fastpanel-300x125.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/files-fastpanel-1024x426.jpg 1024w, https://kinghostcoupon.com/wp-content/uploads/2021/11/files-fastpanel-768x319.jpg 768w, https://kinghostcoupon.com/wp-content/uploads/2021/11/files-fastpanel-1536x639.jpg 1536w" sizes="(max-width: 707px) 100vw, 707px" /></p>
<p>At this point, you pay attention to the directory lnanh.com, this will be the installation directory (if in cPanel, it will be the public_html directory)</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-394 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/upload-files-fastpanel.jpg" alt="Upload Files to FastPanel" width="711" height="234" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/upload-files-fastpanel.jpg 1038w, https://kinghostcoupon.com/wp-content/uploads/2021/11/upload-files-fastpanel-300x99.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/upload-files-fastpanel-1024x337.jpg 1024w, https://kinghostcoupon.com/wp-content/uploads/2021/11/upload-files-fastpanel-768x253.jpg 768w" sizes="(max-width: 711px) 100vw, 711px" /></p>
<p>Click to Upload files to upload WordPress to your hosting.</p>
<h3>Extract and Move files to the root directory</h3>
<p>If you see the zip file as shown, you have successfully uploaded it, right-click on the zip file and select extract.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-395 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/unzip-file-fastpanel.jpg" alt="Unzip file FastPanel" width="713" height="229" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/unzip-file-fastpanel.jpg 1203w, https://kinghostcoupon.com/wp-content/uploads/2021/11/unzip-file-fastpanel-300x97.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/unzip-file-fastpanel-1024x329.jpg 1024w, https://kinghostcoupon.com/wp-content/uploads/2021/11/unzip-file-fastpanel-768x247.jpg 768w" sizes="(max-width: 713px) 100vw, 713px" /></p>
<p>When you unzip it, you will see the entire source code of WordPress located in the wordpress folder. If you install it, the website will have the address yourdomain.com/wordpress/</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-396 size-full" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-fastpanel.jpg" alt="Move Files FastPanel" width="1055" height="756" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-fastpanel.jpg 1055w, https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-fastpanel-300x215.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-fastpanel-1024x734.jpg 1024w, https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-fastpanel-768x550.jpg 768w" sizes="(max-width: 1055px) 100vw, 1055px" /></p>
<p>We need to move all the files in the wordpress directory to the root directory to run the website with yourdomain.com.</p>
<p>The method of performing this operation is the same between hosting management pages, select all files and then select move or copy, return to the root directory, and select paste.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-397 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-successfully-fastpanel.jpg" alt="move files successfully fastpanel" width="682" height="448" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-successfully-fastpanel.jpg 1079w, https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-successfully-fastpanel-300x197.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-successfully-fastpanel-1024x673.jpg 1024w, https://kinghostcoupon.com/wp-content/uploads/2021/11/move-files-successfully-fastpanel-768x505.jpg 768w" sizes="(max-width: 682px) 100vw, 682px" /></p>
<p>As shown in the screenshot above, the file transfer is successful. You can delete the wordpress folder and the WordPress.zip file in this step.</p>
<h3>Create database and database user</h3>
<p>Go to the Databases section and select create a database, you will need to save the database name, database username, and database password into a text file to use to install WordPress.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-398 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/create-database.jpg" alt="Create Database" width="639" height="438" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/create-database.jpg 798w, https://kinghostcoupon.com/wp-content/uploads/2021/11/create-database-300x206.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/create-database-768x526.jpg 768w" sizes="(max-width: 639px) 100vw, 639px" /></p>
<h3>Start installing WordPress</h3>
<p>Once we have the database, we start accessing your domain name in the browser and start installing WordPress.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-399 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-1.jpg" alt="Install WordPress Step 1" width="601" height="529" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-1.jpg 794w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-1-300x264.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-1-768x676.jpg 768w" sizes="(max-width: 601px) 100vw, 601px" /></p>
<p>The process is quite simple, you just need to follow the instructions</p>
<p>Select <strong>language</strong> then <strong>Continue</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-400 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-2.jpg" alt="Install WordPress step 2" width="604" height="449" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-2.jpg 808w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-2-300x223.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-2-768x570.jpg 768w" sizes="(max-width: 604px) 100vw, 604px" /></p>
<p>Here is a guide you need some information to prepare.</p>
<ul>
<li>Database name</li>
<li>Database username</li>
<li>Database password</li>
</ul>
<p>Click <strong>Let&#8217;s go!</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-402 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step3.jpg" alt="Install WordPress step 3" width="623" height="444" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step3.jpg 792w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step3-300x214.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step3-768x548.jpg 768w" sizes="(max-width: 623px) 100vw, 623px" /></p>
<p>Please fill in the correct and complete database name, database username, and database password. Then click <strong>Submit.</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-403 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-4.jpg" alt="Install WordPress step 4" width="616" height="252" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-4.jpg 756w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-4-300x123.jpg 300w" sizes="(max-width: 616px) 100vw, 616px" /></p>
<p>Click <strong>Run the installation</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-404 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-5.jpg" alt="Install WordPress Step 5" width="621" height="691" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-5.jpg 799w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-5-270x300.jpg 270w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-5-768x855.jpg 768w" sizes="(max-width: 621px) 100vw, 621px" /></p>
<p>You will need to fill in some basic information for the website such as username, password, and email. Then click <strong>Install WordPress</strong>.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-405 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-6.jpg" alt="Install WordPress Step 6" width="619" height="344" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-6.jpg 801w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-6-300x167.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-6-768x427.jpg 768w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-step-6-383x214.jpg 383w" sizes="(max-width: 619px) 100vw, 619px" /></p>
<p>If you see like the screenshot above, the installation was successful.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-406 " src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-successfully.jpg" alt="Install WordPress Successfully" width="625" height="543" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-successfully.jpg 718w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-wordpress-successfully-300x261.jpg 300w" sizes="(max-width: 625px) 100vw, 625px" /></p>
<p>If you need help, leave a comment below.</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-wordpress/">How to Install WordPress?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-install-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install SSL on DirectAdmin?</title>
		<link>https://kinghostcoupon.com/how-to-install-ssl-on-directadmin/</link>
					<comments>https://kinghostcoupon.com/how-to-install-ssl-on-directadmin/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Tue, 02 Nov 2021 17:14:56 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[SSLs]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=363</guid>

					<description><![CDATA[<p>The article will help you to install an SSL certificate on DirectAdmin Prepare: Purchase an SSL certificate for your website domain. You can buy it at SSLs.com for a very... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-ssl-on-directadmin/">How to install SSL on DirectAdmin?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The article will help you to install an SSL certificate on DirectAdmin</p>
<p><span style="text-decoration: underline;"><em><strong>Prepare:</strong></em></span></p>
<ul>
<li>Purchase an SSL certificate for your website domain. You can buy it at <a href="https://www.ssls.com">SSLs.com</a> for a very cheap price, only $3.44/year.</li>
<li>Download the certificate as domain.zip via the email you registered with the provider.</li>
</ul>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-364" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-driectadmin.jpg" alt="install SSL on DirectAdmin" width="620" height="343" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-driectadmin.jpg 620w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-driectadmin-300x166.jpg 300w" sizes="(max-width: 620px) 100vw, 620px" /></p>
<p><span style="text-decoration: underline;"><em><strong>Note:</strong></em></span></p>
<p>After extracting, there will be the following files</p>
<ul>
<li>1 certificate file (extension domain.pem)</li>
<li>2 files chain and rootCA (*.crt extension)</li>
<li>1 file bundle (intermediate certificate of CA) that collects the contents of the file chain and rootCA</li>
</ul>
<p>If the vendor does not provide a bundle file, you must manually combine the content of the chain files and the rootCA together to form a bundle file.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-365" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-files.png" alt="Install SSL on DirectAdmin files" width="533" height="188" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-files.png 533w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-files-300x106.png 300w" sizes="(max-width: 533px) 100vw, 533px" /></p>
<h2>The steps to install SSL on DirectAdmin are as follows:</h2>
<p><strong>Step 1</strong>. Access hosting: DirectAdmin &gt; Advanced Features &gt; SSL Certificates</p>
<p><img loading="lazy" decoding="async" class="aligncenter  wp-image-367" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step1.jpg" alt="Install SSL on DirectAdmin step 1" width="627" height="545" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step1.jpg 809w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step1-300x261.jpg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step1-768x667.jpg 768w" sizes="(max-width: 627px) 100vw, 627px" /></p>
<p><strong>Step 2</strong>. Add the certificate to hosting</p>
<p>Get the content of the self-created Private Key file and Certificate with Notepad and paste it in this section, both Private Key and Certificate</p>
<p><img loading="lazy" decoding="async" class="aligncenter  wp-image-368" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step2.jpg" alt="Install SSL on DirectAdmin step2" width="538" height="717" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step2.jpg 586w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step2-225x300.jpg 225w" sizes="(max-width: 538px) 100vw, 538px" /></p>
<p>Go back to the SSL management section, select Click Here via the CA paste section</p>
<p><img loading="lazy" decoding="async" class="aligncenter  wp-image-370" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step-2-2.jpg" alt="Install SSL on DirectAdmin step 2-2" width="547" height="775" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step-2-2.jpg 589w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-ssl-on-directadmin-step-2-2-212x300.jpg 212w" sizes="(max-width: 547px) 100vw, 547px" /></p>
<p>Paste the Intermediate Certificate (the entire contents of the file domain.ca-bundle) into this box and click Save</p>
<p><strong>Step 3</strong>. Customize Domain Name</p>
<p>Back to Home &gt; Domain Setup &gt; Your Domain Name</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-371" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/domain-setup.png" alt="domain setup" width="590" height="306" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/domain-setup.png 590w, https://kinghostcoupon.com/wp-content/uploads/2021/11/domain-setup-300x156.png 300w" sizes="(max-width: 590px) 100vw, 590px" /></p>
<p>Enable SSL security as shown, click Save</p>
<p><img loading="lazy" decoding="async" class="aligncenter  wp-image-372" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/enble-ssl.png" alt="enable SSL" width="644" height="297" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/enble-ssl.png 809w, https://kinghostcoupon.com/wp-content/uploads/2021/11/enble-ssl-300x138.png 300w, https://kinghostcoupon.com/wp-content/uploads/2021/11/enble-ssl-768x354.png 768w" sizes="(max-width: 644px) 100vw, 644px" /></p>
<p><strong>Step 4</strong>. Configure HTTP to HTTPS</p>
<p>You find the .htaccess file in the webroot /public_html/ path, add the following content</p>
<p><code><span style="color: #ff0000;"><em>RewriteEngine On</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteCond %{HTTPS} off</em></span></code><br />
<code><span style="color: #ff0000;"><em>RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]</em></span></code></p>
<p>Thus, we have shown you how to install SSL on DirectAdmin. Good luck!</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-ssl-on-directadmin/">How to install SSL on DirectAdmin?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-install-ssl-on-directadmin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Redirect HTTP to HTTPS with Nginx Web Server?</title>
		<link>https://kinghostcoupon.com/how-to-redirect-http-to-https-with-nginx-web-server/</link>
					<comments>https://kinghostcoupon.com/how-to-redirect-http-to-https-with-nginx-web-server/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Mon, 01 Nov 2021 18:09:59 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[NginX]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=358</guid>

					<description><![CDATA[<p>After we successfully installed Let&#8217;s Encrypt SSL for Nginx, you will need to configure it to redirect from HTTP to HTTPS. Here&#8217;s how. One of the common tasks for running... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-redirect-http-to-https-with-nginx-web-server/">How to Redirect HTTP to HTTPS with Nginx Web Server?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>After we successfully installed <a href="https://kinghostcoupon.com/how-to-install-lets-encrypt-ssl-for-nginx-on-centos-7/">Let&#8217;s Encrypt SSL for Nginx</a>, you will need to configure it to redirect from HTTP to HTTPS. Here&#8217;s how.</p>
<p>One of the common tasks for running the <a href="https://kinghostcoupon.com/what-is-nginx-how-to-install-and-configure-nginx-web-server/">Nginx Web Server</a> is transferring the data stream from the HTTP protocol over the HTTPS (more secure version) of the website.</p>
<p>Unlike HTTP, all requests and responses are sent in unencrypted plain text. HTTPS uses TLS/SSL to encrypt the transmission between the client and the server.</p>
<p>This article will help you know how to configure HTTP to HTTPS redirect using Nginx.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-359" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/http-to-https-nginx.jpg" alt="Redirect http to https on NginX" width="620" height="343" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/http-to-https-nginx.jpg 620w, https://kinghostcoupon.com/wp-content/uploads/2021/11/http-to-https-nginx-300x166.jpg 300w" sizes="(max-width: 620px) 100vw, 620px" /></p>
<p>To configure redirects, you must modify the Nginx configuration file, which is usually located in <strong>/etc/nginx/nginx.conf</strong> or <strong>/etc/nginx/sites-available</strong>, <strong>/usr/local/nginx/conf</strong> and <strong>/usr/local/ etc/nginx</strong>.</p>
<p>Once you have finished editing the configuration file, you must save your edits and exit. Then you reload the Nginx service by command below:</p>
<p><code><span style="color: #ff0000;"><em>systemctl reload nginx</em></span></code></p>
<h2>Redirect a website</h2>
<p>You have multiple websites and only want some to redirect to HTTPS. Open the Nginx configuration file and insert the following code:</p>
<p><code><span style="color: #ff0000;"><em>server {</em></span></code><br />
<code><span style="color: #ff0000;"><em>listen 80 default_server;</em></span></code><br />
<code><span style="color: #ff0000;"><em>server_name domain.com www.domain.com;</em></span></code><br />
<code><span style="color: #ff0000;"><em>return 301 https://$host$request_uri;</em></span></code><br />
<code><span style="color: #ff0000;"><em>}</em></span></code></p>
<p><span style="text-decoration: underline;"><em><strong>Meaning of each line:</strong></em></span></p>
<ul>
<li><strong>listen 80</strong> – block server will receive incoming data at Port 80</li>
<li><strong>server_name domain.com www.domain.com</strong> – the domain name of the server (you change this information to match your domain name)</li>
<li><strong>return 301</strong> https://$host$request_uri – redirect traffic to the HTTPS version of the site</li>
</ul>
<h2>Redirect all websites on the server</h2>
<p>If all the websites hosted on the server use HTTPS and you don&#8217;t want to create separate server blocks for each site, you can create a master server block to redirect all HTTP requests to HTTPS.</p>
<p>Create the main server block in the Nginx configuration file:</p>
<p><code><span style="color: #ff0000;"><em>server {</em></span></code><br />
<code><span style="color: #ff0000;"><em>listen 80 default_server;</em></span></code><br />
<code><span style="color: #ff0000;"><em>server_name _;</em></span></code><br />
<code><span style="color: #ff0000;"><em>return 301 https://$host$request_uri;</em></span></code><br />
<code><span style="color: #ff0000;"><em>}</em></span></code></p>
<p>Parameter <strong>server_name _;</strong> will take any website&#8217;s hostname.</p>
<h2>Only receive SSL Certificates connections</h2>
<p>Add the following code to make the server accept only SSL connections on Port 443:</p>
<p><code><span style="color: #ff0000;"><em>server {</em></span></code><br />
<code><span style="color: #ff0000;"><em>listen 443 ssl default_server;</em></span></code><br />
<code><span style="color: #ff0000;"><em>server_name my_website.com;</em></span></code><br />
<code><span style="color: #ff0000;"><em>}</em></span></code></p>
<p><span style="text-decoration: underline;"><em><strong>Note:</strong></em></span></p>
<ul>
<li>You can add a new server block for another website.</li>
</ul>
<h2>Redirect Domain</h2>
<p>This happens when you want to change the domain name extension (like .net or .org, info) to all .com domains or you want to redirect from the old domain to the new domain.</p>
<p><code><span style="color: #ff0000;"><em>server {</em></span></code><br />
<code><span style="color: #ff0000;"><em>listen 80;</em></span></code><br />
<code><span style="color: #ff0000;"><em>listen 443 ssl;</em></span></code><br />
<code><span style="color: #ff0000;"><em>server_name www.old_domain.com;</em></span></code><br />
<code><span style="color: #ff0000;"><em>return 301 $scheme://www.new_domain.com$request_uri;</em></span></code><br />
<code><span style="color: #ff0000;"><em>}</em></span></code></p>
<h2>Redirect from www to non-www</h2>
<p>When you want the website link to not appear www, enter the following code:</p>
<p><code><span style="color: #ff0000;"><em>server {</em></span></code><br />
<code><span style="color: #ff0000;"><em>server_name www.domain.com;</em></span></code><br />
<code><span style="color: #ff0000;"><em>return 301 $scheme://domain.com$request_uri;</em></span></code><br />
<code><span style="color: #ff0000;"><em>}</em></span></code></p>
<p>It works as well as a website redirects.</p>
<p>When the configuration is complete, all traffic from HTTP will automatically switch to HTTPS. Checking the site will return an HTTP status code &#8220;301 redirect&#8221;. You use the curl tool to check, type the command:</p>
<p><code><span style="color: #ff0000;"><em>curl -I http://domain.com/</em></span></code></p>
<p>If you see “HTTP/1.1 301 Moved Permanently” and “Location: https://domain.com” then you are successful.</p>
<p>Good luck to you!</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-redirect-http-to-https-with-nginx-web-server/">How to Redirect HTTP to HTTPS with Nginx Web Server?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-redirect-http-to-https-with-nginx-web-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Let&#8217;s Encrypt SSL for NginX on CentOS 7</title>
		<link>https://kinghostcoupon.com/how-to-install-lets-encrypt-ssl-for-nginx-on-centos-7/</link>
					<comments>https://kinghostcoupon.com/how-to-install-lets-encrypt-ssl-for-nginx-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Mon, 01 Nov 2021 17:46:34 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS 7]]></category>
		<category><![CDATA[Let's Encrypt]]></category>
		<category><![CDATA[NginX]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=353</guid>

					<description><![CDATA[<p>In the previous article, we had a tutorial on how to install the Let&#8217;s Encrypt SSL certificate for Apache on CentOS 7, in this article you will know how to... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-lets-encrypt-ssl-for-nginx-on-centos-7/">How to Install Let&#8217;s Encrypt SSL for NginX on CentOS 7</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In the previous article, we had a tutorial on <a href="https://kinghostcoupon.com/how-to-install-free-lets-encrypt-ssl-for-apache-webserver-on-centos-7/">how to install the Let&#8217;s Encrypt SSL certificate for Apache on CentOS 7</a>, in this article you will know how to install Let&#8217;s Encrypt for <a href="https://kinghostcoupon.com/what-is-nginx-how-to-install-and-configure-nginx-web-server/">Nginx Webserver</a> on CentOS 7 server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-355" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-encrypt-for-nginx-on-centos-7.jpg" alt="Install Let's Encrypt for NginX on Cent OS 7" width="598" height="331" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-encrypt-for-nginx-on-centos-7.jpg 620w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-encrypt-for-nginx-on-centos-7-300x166.jpg 300w" sizes="(max-width: 598px) 100vw, 598px" /></p>
<h2>What are the benefits of installing SSL on NGINX?</h2>
<p>If you are still wondering about the benefits of installing SSL, you can refer to the following benefits:</p>
<ul>
<li>More trusted by search engines ( Google, Bing..)</li>
<li>Websites with a more secure HTTPS connection</li>
<li>Your website becomes more professional in the eyes of visitors</li>
<li>Minimize network security problems that are extremely unpredictable</li>
</ul>
<h2>Install SSL on NGINX for free with Let&#8217;s Encrypt</h2>
<p>If you have forgotten how to SSH into the server with Putty, you can review <a href="https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/">this article</a>.</p>
<p><strong>Step 1</strong>: Remove the previous Certbot installation packages</p>
<p><code><span style="color: #ff0000;"><em>yum remove -y certbot</em></span></code></p>
<p><strong>Step 2</strong>: Install Certbot</p>
<p>Currently, the best way to install is through the EPEL repository.</p>
<p>Enable access to the EPEL repository on your server by typing</p>
<p><code><span style="color: #ff0000;"><em>yum install -y epel-release</em></span></code></p>
<p>Use the following command to download the <em>certbot-nginx</em> package:</p>
<p><code><span style="color: #ff0000;"><em>yum install -y certbot-nginx</em></span></code></p>
<p><strong>Step 3</strong>: Open the firewall port</p>
<p>If you are running a firewall, make sure that ports <strong>80</strong> and <strong>443</strong> are open</p>
<p><code><span style="color: #ff0000;"><em>firewall-cmd --zone=public --add-port={80,443}/tcp --permanent</em></span></code></p>
<p><code><span style="color: #ff0000;"><em>firewall-cmd --reload</em></span></code></p>
<p>Type the following command to check</p>
<p><code><span style="color: #ff0000;"><em>firewall-cmd --list-port</em></span></code></p>
<p><strong>Step 4</strong>: Get an SSL certificate</p>
<p>Install the certificate automatically with the following command:</p>
<p><code><span style="color: #ff0000;"><em>certbot --nginx -d example.com -d www.example.com</em></span></code></p>
<p>It will run certbot with the <strong>–nginx</strong> plugin to reconfigure Nginx, use <strong>-d</strong> to determine the valid name of the certificate</p>
<p><strong>Step 5:</strong> Auto-renew</p>
<p>By default, LetsEncrypt certificates are only valid for 90 days, so we encourage you to set up automatic renewal of your SSL certificates.</p>
<p>Try before executing the command (create, renew…) for real, can add the option –dry-run at the end of the command. Such as</p>
<p><code><span style="color: #ff0000;"><em>certbot renew --dry-run</em></span></code></p>
<p>If sure, type the command</p>
<p><code><span style="color: #ff0000;"><em>certbot renew</em></span></code></p>
<p><span style="text-decoration: underline;"><em><strong>Note:</strong></em></span> If you type the command with LetsEncrypt incorrectly, the error is too much, it will block you from working for about 1 hour.</p>
<p>The automatic renewal command applied to Certbot is located in one of the following files and paths:</p>
<p><strong>/etc/crontab</strong></p>
<p><strong>/etc/cron.*/*</strong></p>
<p><strong>systemctl list-timers</strong></p>
<p>Set up cron jobs to auto-renew</p>
<p><code><span style="color: #ff0000;"><em>crontab -e 0 0 15 * * /usr/bin/certbot renew --post-hook "systemctl restart nginx" &gt;&gt; /var/log/certbot-renew.log</em></span></code></p>
<p>This line will run the renewal command at 24 hours on the 15th of each month, then save the log to the file <strong>/var/log/certbot-renew.log</strong> for easy to viewing.</p>
<p><strong>Step 6</strong>: Check Certbot working</p>
<p>Once done, open a browser to access the domain name you just installed SSL, if you see the image below, it has been successfully installed. Congratulation!</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-356" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-enrypt-for-nginx-on-centos-7-successfully.jpg" alt="Install Let's Encrypt for NginX on CenOS 7 Successfully" width="403" height="512" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-enrypt-for-nginx-on-centos-7-successfully.jpg 403w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-enrypt-for-nginx-on-centos-7-successfully-236x300.jpg 236w" sizes="(max-width: 403px) 100vw, 403px" /></p>
<p>Through this article KingHostCoupon has helped you know how to install the free Let&#8217;s Encrypt SSL for Nginx on CentOS 7. If you have any suggestions, you can leave a comment below.</p>
<p>You can find more information in the articles at:</p>
<ul>
<li><a href="http://nginx.org/en/linux_packages.html#RHEL-CentOS">http://nginx.org/en/linux_packages.html#RHEL-CentOS</a></li>
<li><a href="https://www.nginx.com/resources/wiki/start/">https://www.nginx.com/resources/wiki/start/</a></li>
</ul>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-lets-encrypt-ssl-for-nginx-on-centos-7/">How to Install Let&#8217;s Encrypt SSL for NginX on CentOS 7</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-install-lets-encrypt-ssl-for-nginx-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install free Let&#8217;s Encrypt SSL for Apache Webserver on CentOS 7</title>
		<link>https://kinghostcoupon.com/how-to-install-free-lets-encrypt-ssl-for-apache-webserver-on-centos-7/</link>
					<comments>https://kinghostcoupon.com/how-to-install-free-lets-encrypt-ssl-for-apache-webserver-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Mon, 01 Nov 2021 16:44:57 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS 7]]></category>
		<category><![CDATA[Let's Encrypt]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=350</guid>

					<description><![CDATA[<p>In this article, you will know how to install an SSL certificate on CentOS 7. SSL (Security Socket Layer) is a web protocol used to protect traffic to the server... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-free-lets-encrypt-ssl-for-apache-webserver-on-centos-7/">How to Install free Let&#8217;s Encrypt SSL for Apache Webserver on CentOS 7</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this article, you will know how to install an SSL certificate on CentOS 7.</p>
<p>SSL (Security Socket Layer) is a web protocol used to protect traffic to the server through encryption.</p>
<p>Typically, e-commerce or online financial services need this protocol because they often store sensitive information, like credit cards.</p>
<p>However, SSL certificates have now become a common standard for all websites, to protect user&#8217;s confidential data, like login information, social security numbers, ID cards, and more.</p>
<p>Fortunately, you can get a completely free and easy SSL certificate from the provider Let&#8217;s Encrypt, and we will guide you through installing SSL for <a href="https://kinghostcoupon.com/what-is-apache/">Apache Webserver</a> on a CentOS 7 server in this article.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-351" src="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-encrypt-for-apache-on-centos-7.jpg" alt="Install Let's Encrypt for Apache on CentOS 7" width="546" height="302" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-encrypt-for-apache-on-centos-7.jpg 620w, https://kinghostcoupon.com/wp-content/uploads/2021/11/install-lets-encrypt-for-apache-on-centos-7-300x166.jpg 300w" sizes="(max-width: 546px) 100vw, 546px" /></p>
<h2>How to install Let&#8217;s Encrypt SSL certificate for Apache on CentOS 7</h2>
<p>You will need to reread <a href="https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/">how to access the Server&#8217;s SSH using Putty</a> if you forgot.</p>
<p>Let&#8217;s Encrypt provides everyone with a completely free SSL certificate. Let&#8217;s see how to install it on Apache Webserver running CentOS 7 below.</p>
<p><strong>Step 1</strong>: To get started you will need to update your system first with the following command</p>
<p><code><span style="color: #ff0000;"><em>yum -y update</em></span></code></p>
<p><strong>Step 2</strong>: Install mod_ssl to configure Let&#8217;s Encrypt</p>
<p><code><span style="color: #ff0000;"><em>yum install -y mod_ssl</em></span></code></p>
<p><strong>Step 3</strong>: Install EPEL repository and yum-utils</p>
<p><code><span style="color: #ff0000;"><em>yum –y install epel-release yum-utils</em></span></code></p>
<p><strong>Step 4</strong>: install Certbot for apache</p>
<p><code><span style="color: #ff0000;"><em>yum –y install certbot-apache</em></span></code></p>
<p><strong>Step 5</strong>: Install SSL</p>
<p><code><span style="color: #ff0000;"><em>certbot</em></span></code></p>
<p>We need to go to the <strong>/etc/letsencrypt/live/{domain}</strong> directory to check the files containing the SSL key and certificate.</p>
<h2>How to set up for automatic certificate renewal</h2>
<p>By default, Let&#8217;s Encrypt is only valid for 90 days from the date of registration. So automatic certificate renewal is very important because if you forget it, the SSL certificate will expire. Therefore we need to set it to automatically renew when it is almost expired.</p>
<p><strong>Step 1</strong>: Run the command below to check the renewal process manually</p>
<p><code><span style="color: #ff0000;"><em>certbot renew –dry-run</em></span></code></p>
<p>This command will check for renewal of the current certificate if the certificate is less than 30 days from the expiration date.</p>
<p><strong>Step 2</strong>: Adjust the cronjob to be able to run the auto-renew check command</p>
<p><code><span style="color: #ff0000;"><em>acrontab -e</em></span></code></p>
<p>Add below line in cronjob</p>
<p><code><span style="color: #ff0000;"><em>0 0 15 * * /usr/bin/certbot renew &gt;/dev/null 2&gt;&amp;1</em></span></code></p>
<p>Thus, the above cronjob will automatically renew at 00:00 on the 15th of every month, you will not need to worry about forgetting to renew the certificate when it is almost expired.</p>
<p>Good luck!</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-free-lets-encrypt-ssl-for-apache-webserver-on-centos-7/">How to Install free Let&#8217;s Encrypt SSL for Apache Webserver on CentOS 7</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-install-free-lets-encrypt-ssl-for-apache-webserver-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Node.js on Ubuntu 20.04</title>
		<link>https://kinghostcoupon.com/how-to-install-node-js-on-ubuntu-20-04/</link>
					<comments>https://kinghostcoupon.com/how-to-install-node-js-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Wed, 21 Apr 2021 17:09:35 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Node.js]]></category>
		<category><![CDATA[Ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=331</guid>

					<description><![CDATA[<p>In this article, I will show you how to install Node.js on Ubuntu 20.04. I. Introduction Node.js is a JavaScript launcher for server-side programming. It allows developers to create extensible backend functionality using... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-node-js-on-ubuntu-20-04/">How to Install Node.js on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this article, I will show you how to install <a class="rank-math-link wpel-icon-right" href="https://nodejs.org/" target="_blank" rel="noreferrer noopener nofollow external" aria-label="Node.js (opens in a new tab)" data-wpel-link="external"><em>Node.js</em></a> on Ubuntu 20.04.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-332" src="https://kinghostcoupon.com/wp-content/uploads/2021/04/how-to-install-nodejs-on-ubuntu-20.04.jpeg" alt="How to install Node JS on Ubuntu 20.04" width="569" height="320" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/04/how-to-install-nodejs-on-ubuntu-20.04.jpeg 800w, https://kinghostcoupon.com/wp-content/uploads/2021/04/how-to-install-nodejs-on-ubuntu-20.04-300x169.jpeg 300w, https://kinghostcoupon.com/wp-content/uploads/2021/04/how-to-install-nodejs-on-ubuntu-20.04-768x432.jpeg 768w, https://kinghostcoupon.com/wp-content/uploads/2021/04/how-to-install-nodejs-on-ubuntu-20.04-383x214.jpeg 383w" sizes="(max-width: 569px) 100vw, 569px" /></p>
<h2 id="ftoc-heading-1" class="ftwp-heading"><strong>I. Introduction</strong></h2>
<p>Node.js is a JavaScript launcher for server-side programming. It allows developers to create extensible backend functionality using JavaScript, a language many people are familiar with for browser-based web development.</p>
<h2 id="ftoc-heading-2" class="ftwp-heading">II. Performance conditions</h2>
<p>This guide simulates that you are using Ubuntu version 20.04. Before you begin, you should have a user account with sudo privileges set up on your system, or if not then you can also use the root account.</p>
<h2 id="ftoc-heading-3" class="ftwp-heading">III. Install Node.js on Ubuntu 20.04</h2>
<p>To install Node.js on Ubuntu 20.04 we need to do the following 2 steps.</p>
<h3 id="ftoc-heading-3-2" class="ftwp-heading">Step 1: SSH into your Ubuntu 20.04 system</h3>
<p>To install Node.js on Ubuntu 20.04, we first need SSH or access your VPS or server with <strong>root privileges </strong>first. If you do not know how to SSH to your VPS or Server, you can refer to the following tutorial:</p>
<ul>
<li><a href="https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/">How to connect Linux VPS server via SSH?</a></li>
</ul>
<h3 id="ftoc-heading-5" class="ftwp-heading">Step 2: Install Node.js commands on Ubuntu 20.04</h3>
<p>First, you should update your Ubuntu with the following command first.</p>
<p><span style="color: #ff0000;"><em>apt update</em></span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-333" src="https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-1.png" alt="install node js on ubuntu" width="636" height="95" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-1.png 753w, https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-1-300x45.png 300w" sizes="(max-width: 636px) 100vw, 636px" /></p>
<p>After the update is complete, use the following command to install Node.js from Ubuntu&#8217;s default repositories. At the time of writing, the repository version of Ubuntu is Node.js 10.19.</p>
<p>While this is not the latest version of Node.js, it is the stable version with all the features you need.</p>
<p><span style="color: #ff0000;"><em>apt install jodejs</em></span></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-334" src="https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-2.png" alt="Install Node JS on Ubuntu 2" width="640" height="93" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-2.png 754w, https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-2-300x44.png 300w" sizes="(max-width: 640px) 100vw, 640px" /></p>
<p>After running the above command, you will receive information about how much space will download as well as how much space will be occupied after the installation. You will need to fill it in in <strong>Y</strong> to continue with the installation process.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-335" src="https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-3.png" alt="install nodejs on ubuntu" width="590" height="244" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-3.png 648w, https://kinghostcoupon.com/wp-content/uploads/2021/04/install-node-js-on-ubuntu-3-300x124.png 300w" sizes="(max-width: 590px) 100vw, 590px" /></p>
<p>After the installation is complete, use the following command to check if you have successfully installed and if it has been installed successfully, which version is installed.</p>
<p><span style="color: #ff0000;"><em>nodejs -v</em></span></p>
<p>Below is a picture of the Node.js installation log on my Ubuntu 20.04 as well as checking the Node.js version I just installed.</p>
<p>f the repository package suits your needs, here&#8217;s all you need to do to set up Node.js. In most cases, you will also want to install <strong>npm</strong> the Node.js package manager. You can do this by installing <strong>npm</strong> with the apt command below:</p>
<p><em><span style="color: #ff0000;">apt install npm</span></em></p>
<p>This will allow you to install modules and packages for use with Node.js.</p>
<p>At this point, you have successfully installed Node.js on your Ubuntu 20.04 server.</p>
<h2 id="ftoc-heading-6" class="ftwp-heading"><strong>IV. Summary:</strong></h2>
<p>As you can see, installing Node.js on Ubuntu 20.04 server is super simple and fast, isn&#8217;t it?</p>
<p>I wish you a successful implementation. See more useful articles about  <strong>VPS Linux </strong>at the <a href="https://kinghostcoupon.com/tutorials/">Tutorials</a>.</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-install-node-js-on-ubuntu-20-04/">How to Install Node.js on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-install-node-js-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to connect Linux VPS server via SSH?</title>
		<link>https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/</link>
					<comments>https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/#respond</comments>
		
		<dc:creator><![CDATA[Anh]]></dc:creator>
		<pubDate>Wed, 21 Apr 2021 16:48:12 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Putty]]></category>
		<guid isPermaLink="false">https://kinghostcoupon.com/?p=326</guid>

					<description><![CDATA[<p>VPS services like Vultr, Digital Ocean, VPSDime.. after being created, will provide you with login information to the remote server including the root account and the root password along with... </p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/">How to connect Linux VPS server via SSH?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>VPS services like <a href="https://kinghostcoupon.com/vultr/">Vultr</a>, Digital Ocean, <a href="https://kinghostcoupon.com/vpsdime/">VPSDime</a>.. after being created, will provide you with login information to the remote server including the root account and the root password along with the server IP. To be able to log into the server and proceed to install the necessary applications, you must access the server via SSH protocol.</p>
<h2 id="mcetoc_1dgkqvlmv1" class="ftwp-heading">What is SSH?</h2>
<p>SSH (short for Secure Socket Shell) is a network protocol used to log into a remote computer. For example, if you have a computer at home with Linux installed with SSH, you can log into that computer remotely to manage data. The data that you send or receive via SSH protocol will be encrypted to make information more secure.</p>
<h2 id="mcetoc_1dgkr06np2" class="ftwp-heading">SSH in Linux server</h2>
<p>When you buy a Linux VPS or a physical server with Linux, you will have login information via SSH protocol including:</p>
<ul>
<li>Server IP</li>
<li>Login username, mostly root</li>
<li>User&#8217;s password, if your username is root then this is called root password.</li>
<li>Communication port: 22, default SSH uses port 22.</li>
</ul>
<p>With that information, you should be able to log into your Linux server.</p>
<h2 id="mcetoc_1dgkr0n213" class="ftwp-heading">How to log into a Linux server via SSH</h2>
<h3 id="mcetoc_1dgkr0qtt4" class="ftwp-heading">Sign in from Windows</h3>
<p>If you are running Windows on your computer and want to log into your Linux server via SSH, you will need software to do this. The most popular software is <a href="https://kinghostcoupon.com/what-is-putty-how-to-install-and-use-putty/">PuTTY</a>, you just need to download and run it will log into the server as shown below.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-327" src="https://kinghostcoupon.com/wp-content/uploads/2021/04/putty-software.png" alt="Putty" width="452" height="442" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/04/putty-software.png 452w, https://kinghostcoupon.com/wp-content/uploads/2021/04/putty-software-300x293.png 300w" sizes="(max-width: 452px) 100vw, 452px" /></p>
<p>Enter the VPS&#8217;s IP in the Host Name box. The default port is 22, you must change if you know your server uses a different network port. Then click Open.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-328" src="https://kinghostcoupon.com/wp-content/uploads/2021/04/putty-login.png" alt="Putty login" width="606" height="383" srcset="https://kinghostcoupon.com/wp-content/uploads/2021/04/putty-login.png 661w, https://kinghostcoupon.com/wp-content/uploads/2021/04/putty-login-300x190.png 300w" sizes="(max-width: 606px) 100vw, 606px" /></p>
<p>Next step, click on Yes, then type the user name and password, press Enter and you have successfully logged into VPS.</p>
<h3 id="mcetoc_1dgkr29a75" class="ftwp-heading">Login from Linux / macOS</h3>
<p>If you use Linux or macOS, a terminal tool is available that can run Unix commands. At the Terminal, use the following command to log in:</p>
<p><span style="color: #ff0000;"><em>ssh root@168.235.90.40</em></span></p>
<p>Where root is the username on the server and <span style="color: #ff0000;"><em>168.235.90.40</em></span> is the server&#8217;s IP address. In case you use a network port other than port 22, you will need to declare the port number with parameters -p, for example:</p>
<p><span style="color: #ff0000;"><em>ssh root@123.45.67.8 -p 6789</em></span></p>
<p>(*) 6789 here is another network port other than the default network port.</p>
<p>Good luck.</p>
<p>The post <a rel="nofollow" href="https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/">How to connect Linux VPS server via SSH?</a> appeared first on <a rel="nofollow" href="https://kinghostcoupon.com">King Host Coupon</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kinghostcoupon.com/how-to-connect-linux-vps-server-via-ssh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
