<!DOCTYPE html>
	<html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
	<head>
<title>Hướng dẫn cài SSL Let’s host DirectAdmin</title>
<meta name="description" content="Hướng dẫn cài SSL Let’s host DirectAdmin - Savefile - Tin tức - https&#x3A;&#x002F;&#x002F;theanhgroup.com&#x002F;tin-tuc&#x002F;savefile&#x002F;huong-dan-host&#x002F;huong-dan-cai-ssl-lets-host-directadmin-83.html">
<meta name="author" content="Thế Anh Group">
<meta name="copyright" content="Thế Anh Group">
<meta name="robots" content="index, archive, follow, noodp">
<meta name="googlebot" content="index,archive,follow,noodp">
<meta name="msnbot" content="all,index,follow">
<meta name="geo.region" content="VN-SG">
<meta name="geo.placename" content="Ho Chi Minh">
<meta name="geo.position" content="10.833111;106.641224">
<meta name="generator" content="NukeViet v4.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#00b456">
<meta name="msapplication-navbutton-color" content="#00b456">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#00b456">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:title" content="Hướng dẫn cài SSL Let’s host DirectAdmin">
<meta property="og:type" content="website">
<meta property="og:description" content="Savefile - Tin tức - https&#x3A;&#x002F;&#x002F;theanhgroup.com&#x002F;tin-tuc&#x002F;savefile&#x002F;huong-dan-host&#x002F;huong-dan-cai-ssl-lets-host-directadmin-83.html">
<meta property="og:site_name" content="Thế Anh Group - Hosting - Domain - VPS">
<meta property="og:image" content="https://theanhgroup.com/uploads/bnn-tag.jpg">
<meta property="og:url" content="https://theanhgroup.com/tin-tuc/huong-dan-host/huong-dan-cai-ssl-lets-host-directadmin-83.html">
<link rel="shortcut icon" href="https://theanhgroup.com/favicon.ico">
<link rel="preload" as="script" href="https://theanhgroup.com/assets/js/jquery/jquery.min.js">
<link rel="preload" as="script" href="https://theanhgroup.com/assets/js/language/vi.js">
<link rel="preload" as="script" href="https://theanhgroup.com/assets/js/global.js">
<link rel="preload" as="script" href="https://theanhgroup.com/themes/theanhgroup/js/news.js">
<link rel="preload" as="script" href="https://theanhgroup.com/themes/theanhgroup/js/main.js">
<link rel="preload" as="script" href="https://theanhgroup.com/OneSignalSDKWorker.js">
<link rel="preload" as="script" href="https://theanhgroup.com/OneSignalSDKUpdaterWorker.js">
<link rel="preload" as="script" href="https://cdn.onesignal.com/sdks/OneSignalSDK.js">
<link rel="preload" as="script" href="https://theanhgroup.com/themes/theanhgroup/js/intersection-observer.js">
<link rel="preload" as="script" href="https://theanhgroup.com/themes/theanhgroup/js/lazyload.min.js">
<link rel="preload" as="script" href="https://theanhgroup.com/themes/theanhgroup/js/bootstrap.min.js">
<link rel="stylesheet" href="https://theanhgroup.com/stylesheet/css/all.css">
<style>
	body{background: #fff;}
</style>
<script data-show="inline">(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-101091287-1', '.theanhgroup.com');
ga('send', 'pageview');
</script>
</head>
	<body >
<div id="print">
	<div id="hd_print">
		<h2 class="pull-left">Thế Anh Group - Hosting - Domain - VPS</h2>
		<p class="pull-right"><a title="Thế Anh Group - Hosting - Domain - VPS" href="https://theanhgroup.com/">https://theanhgroup.com</a></p>
	</div>
	<div class="clear"></div>
	<hr />
	<div id="content">
		<h1>Hướng dẫn cài SSL Let’s host DirectAdmin</h1>
		<ul class="list-inline">
			<li>Thứ ba - 21/05/2019 03:20</li>
			<li class="hidden-print txtrequired"><em class="fa fa-print">&nbsp;</em><a title="In ra" href="javascript:;" onclick="window.print()">In ra</a></li>
			<li class="hidden-print txtrequired"><em class="fa fa-power-off">&nbsp;</em><a title="Đóng cửa sổ này" href="javascript:;" onclick="window.close()">Đóng cửa sổ này</a></li>
		</ul>
		<div class="clear"></div>
		<div id="hometext">
			SSL let’s hay được hiểu là HTTPS trình duyệt, đây là chứng chỉ bảo mật hoàn toàn miễn phí sử dụng trên các host directadmin, cpanel hay các trình quản lý website.
		</div>
		<div id="bodytext" class="clearfix">
			<p>Dưới đây là “Hướng dẫn cài ssl let’s host DirectAdmin” một cách tỷ mỉ nhất.</p>

<p>Đầu tiên bạn đăng nhập vào host của mình, click vào tên miền bạn muốn cài đặt HTTPS</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="cài đặt ssl lets cho tên miền" height="492" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/ci-t-ssl-lets-cho-tn-min.jpg" width="600" />
<figcaption>Click vào “SSL Certificates</figcaption>
</figure>
</div>

<p>Tiếp đến bạn click vào “SSL Certificates” cửa sổ cài đặt SSL hiện ra.</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="cài đặt https cho directadmin" height="478" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/ci-t-https-cho-directadmin.jpg" width="600" />
<figcaption>Bạn chọn 1 và chọn 2</figcaption>
</figure>
</div>

<p>Bạn chọn 1 và chọn 2 (Free &amp; automatic certificate from Let’s Encrypt), Tiếp đến bạn nhập email thật của bạn vào mục (3), Cuối cùng bạn bấm “save” Mục 4</p>

<p>Bạn đợi tầm 3 phút để hệ thống tự động đăng ký với bên thứ 3 cung cấp dịch vụ HTTPS Let’s Encrypt. Sau khi cài đặt thành công bạn sẽ nhận được một thông báo từ hệ thống “Certificate and Key Saved.”</p>

<blockquote>
<p>Lưu ý: Khi cài đặt thường lỗi do bạn chưa trỏ bản ghi tên miền www A Ip, Bạn có thể xem hướng dẫn cấu hình tên miền từ link này.</p>
</blockquote>

<p>Sau khi cài đặt HTTPS xong bạn cần thực hiện bước chuyển thư mục puplic_html sang puplic_private. Bạn truy cập lại màn hình quản lý host.</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="cài đặt https ssl đễ dàng" height="355" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/ci-t-https-ssldng.jpg" width="600" />
<figcaption>Click vào “Domain Setup”</figcaption>
</figure>
</div>

<p>Bạn click vào “Domain Setup” của sổ hiện ra bạn click vào tên miền muốn cấu hình HTTPS:</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="cấu hình ssl directadmin" height="232" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/cu-hnh-ssl-directadmin.jpg" width="600" />
<figcaption>Chọn tên miền cần cái HTTPS (SSL)</figcaption>
</figure>
</div>

<p>Bạn click vào tên miền mới cài ssl thành công. của sổ tiếp theo hiện ra: bạn check vào ô (Use a symbolic link from private_html to public_html – allows for same data in http and HTTPS)</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="cài đặt ssl cho directadmin" height="378" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/ci-t-ssl-cho-directadmin.jpg" width="600" />
<figcaption>Chọn theo 1, 2</figcaption>
</figure>
</div>

<p>Bạn bấm “save” ở mục 2 và đợi 1 phút là hoàn thành toàn bộ bước cài HTTPS cho web.</p>

<p>Đối với code wordpress bạn cần chuyển tất cả các link từ http sang HTTPS nó mới xanh được. Bạn truy cập vào quản trị web &gt;&gt; cài đặt</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="cấu hình https cho wordpress" height="277" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/cu-hnh-https-cho-wordpress.jpg" width="429" />
<figcaption>Cài đặt HTTPS cho Wordpress</figcaption>
</figure>
</div>

<p>Lúc này bạn nhập lại link HTTPS cho 2 cột và tiến hành lưu lại. Sau khi lưu bạn sẽ đăng xuất ra ngoài và đăng nhập user lại bằng HTTPS nhé.</p>

<p>Để chuyển tiếp (direct) từ http sang HTTPS bạn có thể làm theo hướng dẫn dưới đây cho host directadmin. Bạn truy cập vào File manager và edit file .htaccess</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="Chọn .htaccess -&gt; Edit" height="81" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/ci-t-chuyn-tip-https.jpg" width="600" />
<figcaption>Chọn .htaccess -&gt; Edit</figcaption>
</figure>
</div>

<p>Bạn thêm đoạn mã dưới đây vào</p>

<pre>
<code >RewriteEngine On
RewriteCond %{https} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 &#91;R,L&#93;</code></pre>

<p>Xem xem hình ảnh minh họa bên dưới đây !</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="cấu hình chuyển tiếp https khi cài đặt let ssl" height="318" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/cu-hnh-chuyn-tip-https-khi-ci-t-let-ssl.jpg" width="600" />
<figcaption>.htaccess sau khi thêm code trên</figcaption>
</figure>
</div>

<p>Bạn đã hoàn thành bước chuyển tiếp. Nếu http bạn chưa xanh nguyên nhân có thể do web bạn còn bị link chưa http</p>

<p>Bạn truy cập vào web của mình ở trang chủ với HTTPS chưa xanh. Ban click chuột phải “Xem nguồn trang”</p>

<div style="text-align:center">
<figure class="image" style="display:inline-block"><img alt="kiểm tra link chưa có https" height="227" src="https://theanhgroup.com/uploads/tin-tuc/huong-dan-host/kim-tra-link-cha-c-https.jpg" width="600" />
<figcaption>Sửa hết tất cả các http thành https</figcaption>
</figure>
</div>

<p>Cửa sổ code hiện ra bạn bấm tổ hợp phím “CTRL + F” và gõ “http://” vào để tìm link chưa có HTTPS. Bạn sửa link này thành HTTPS là web bạn có thể xanh tươi.</p>

<p>Mọi vấn đề thắc mắc xin vui lòng để lại comment bên dưới để chúng tôi có thể hỗ trợ bạn</p>
		</div>
	</div>
	<div id="footer" class="clearfix">
		<div id="url">
			<strong>URL của bản tin này: </strong><a href="https://theanhgroup.com/tin-tuc/huong-dan-host/huong-dan-cai-ssl-lets-host-directadmin-83.html" title="Hướng dẫn cài SSL Let’s host DirectAdmin">https://theanhgroup.com/tin-tuc/huong-dan-host/huong-dan-cai-ssl-lets-host-directadmin-83.html</a>

		</div>
		<div class="clear"></div>
		<div class="copyright">
			&copy; Thế Anh Group - Hosting - Domain - VPS
		</div>
		<div id="contact">
			<a href="mailto:info@theanhgroup.com">info@theanhgroup.com</a>
		</div>
	</div>
</div>

		</div>
        <div id="timeoutsess" class="chromeframe">
            Bạn đã không sử dụng Site, <a onclick="timeoutsesscancel();" href="https://theanhgroup.com/#">Bấm vào đây để duy trì trạng thái đăng nhập</a>. Thời gian chờ: <span id="secField"> 60 </span> giây
        </div>
        <div id="openidResult" class="nv-alert" style="display:none"></div>
        <div id="openidBt" data-result="" data-redirect=""></div>
<script src="https://theanhgroup.com/assets/js/jquery/jquery.min.js"></script>
<script>var nv_base_siteurl="/",nv_lang_data="vi",nv_lang_interface="vi",nv_name_variable="nv",nv_fc_variable="op",nv_lang_variable="language",nv_module_name="tin-tuc",nv_func_name="savefile",nv_is_user=0, nv_my_ofs=-4,nv_my_abbr="EDT",nv_cookie_prefix="nv4",nv_check_pass_mstime=1738000,nv_area_admin=0,nv_safemode=0,theme_responsive=1,nv_is_recaptcha=1,nv_recaptcha_sitekey="6LcBa6sUAAAAAL3xxPH8QGCnxx1DtQN_Qu8zAtTm",nv_recaptcha_type="image",nv_recaptcha_elements=[];</script>
<script src="https://theanhgroup.com/assets/js/language/vi.js"></script>
<script src="https://theanhgroup.com/assets/js/global.js"></script>
<script src="https://theanhgroup.com/themes/theanhgroup/js/news.js"></script>
<script src="https://theanhgroup.com/themes/theanhgroup/js/main.js"></script>
<script type="application/ld+json">
		{
			"@context": "http://schema.org",
			"@type": "LocalBusiness",
			"url": "/",
			"logo": "/uploads/logo.svg",
			"image": "/uploads/logo.svg",
			"priceRange": "VND",
			"hasMap": "https://goo.gl/maps/GxvwWZZZJwYi28GR7",
			"email": "mailto: khachhang@theanhgroup.com",
			"address": { 
			"@type": "PostalAddress", 
			"addressLocality": "Gò Vấp", 
			"addressRegion": "Hồ Chí Minh", 
			"postalCode":"700000", 
			"streetAddress": "164/64 Bùi Quang Là, Q. Gò Vấp, TP. Hồ Chí Minh" 
			},
			"description": "Công Ty TNHH Thế Anh Group chuyên cung cấp giải pháp lưu trữ website, máy chủ ảo, tên miền giá rẻ uy tín hàng đầu Việt Nam",
			"name": "Công Ty TNHH Thế Anh Group", "telephone": "088-877-6611",
			"openingHours": [ "Mo-Fri 08:00-17:00", "Sat 08:00-12:00" ],
			"geo": { "@type": "GeoCoordinates", "latitude": "10.833485", "longitude": "106.641419" },
			"sameAs" : [ "https://www.facebook.com/TheAnhGroup/" , "https://www.pinterest.com/theanhgroup/"] 
		}
		</script>
<script src="https://theanhgroup.com/OneSignalSDKWorker.js" async=""></script>
<script src="https://theanhgroup.com/OneSignalSDKUpdaterWorker.js" async=""></script>
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
<script>
		  var OneSignal = window.OneSignal || [];
		  OneSignal.push(function() {
			OneSignal.init({
			  appId: "a62d202f-ca22-40ca-9987-e10da3bfbd9a",
			});
		  });
		</script>
<script>
		$(document).ready(function() {
			if (document.documentElement.clientWidth > 786 ) {
				window.onscroll = function() {myFunction()};
				var navbar = document.getElementById("main-menu");
				var sticky = navbar.offsetTop;
				function myFunction() {
					if (window.pageYOffset >= sticky) {
						navbar.classList.add("sticky")
					} else {
						navbar.classList.remove("sticky");
					}
				};
			}
			else
			{
				window.onscroll = function() {sticky_search_box()};
				var navbar_search = document.getElementById("box-search");
				var sticky_search = navbar_search.offsetTop;
				function sticky_search_box() {
					if (window.pageYOffset >= sticky_search + 300) {
						navbar_search.classList.add("sticky-search")
					} else {
						navbar_search.classList.remove("sticky-search");
					}
				}
			}
		});
		</script>
<script src="https://theanhgroup.com/themes/theanhgroup/js/intersection-observer.js"></script>
<script src="https://theanhgroup.com/themes/theanhgroup/js/lazyload.min.js"></script>
<script>
			var lazyLoadInstance = new LazyLoad({
				elements_selector: ".img-lazyload"
			}); 
		</script>
<script src="https://theanhgroup.com/themes/theanhgroup/js/bootstrap.min.js"></script>
</body>
</html>