<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?action=history&amp;feed=atom&amp;title=Server_moodle_dengan_ip_lokal_dan_ip_public</id>
	<title>Server moodle dengan ip lokal dan ip public - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?action=history&amp;feed=atom&amp;title=Server_moodle_dengan_ip_lokal_dan_ip_public"/>
	<link rel="alternate" type="text/html" href="https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?title=Server_moodle_dengan_ip_lokal_dan_ip_public&amp;action=history"/>
	<updated>2026-05-10T17:44:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?title=Server_moodle_dengan_ip_lokal_dan_ip_public&amp;diff=138&amp;oldid=prev</id>
		<title>Smpdbos: /* UPDATE */</title>
		<link rel="alternate" type="text/html" href="https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?title=Server_moodle_dengan_ip_lokal_dan_ip_public&amp;diff=138&amp;oldid=prev"/>
		<updated>2023-04-16T15:11:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;UPDATE&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:11, 16 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==UPDATE==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==UPDATE==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Menggunakan script ip dinamis juga ternyata bisa, yaitu dengan merubah scrip config.php menjadi seperti berikut&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Menggunakan script ip dinamis juga ternyata bisa, yaitu dengan merubah scrip config.php menjadi seperti berikut&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $CFG-&amp;gt;wwwroot   = &#039;http://&#039;.$_SERVER[&quot;HTTP_HOST&quot;].&#039;/moodle&#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $CFG-&amp;gt;wwwroot   = &#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;http://&#039;.$_SERVER&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;[&quot;HTTP_HOST&quot;].&#039;/moodle&#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Sumber : https://kursuskomputerbatam.wordpress.com/2019/06/11/mengonlinekan-server-lokal-moodle-ke-internet/comment-page-1/#comment-1568&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Sumber : https://kursuskomputerbatam.wordpress.com/2019/06/11/mengonlinekan-server-lokal-moodle-ke-internet/comment-page-1/#comment-1568&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki/&amp;gt;https://www.jawaracloud.net/2017/09/server-moodle-dengan-ip-address-dinamis.html&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key smpyppks_mw3525-mwsh_:diff:1.41:old-21:rev-138:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Smpdbos</name></author>
	</entry>
	<entry>
		<id>https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?title=Server_moodle_dengan_ip_lokal_dan_ip_public&amp;diff=21&amp;oldid=prev</id>
		<title>Smpdbos: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?title=Server_moodle_dengan_ip_lokal_dan_ip_public&amp;diff=21&amp;oldid=prev"/>
		<updated>2023-02-07T18:12:11Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:12, 7 February 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key smpyppks_mw3525-mwsh_:diff:1.41:old-20:rev-21 --&gt;
&lt;/table&gt;</summary>
		<author><name>Smpdbos</name></author>
	</entry>
	<entry>
		<id>https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?title=Server_moodle_dengan_ip_lokal_dan_ip_public&amp;diff=20&amp;oldid=prev</id>
		<title>dw&gt;Admin: Created page with &quot; Biasanya, aplikasi Moodle yang terpasang di server sekolah, perguruan tinggi, dan lembaga pendidikan lainnya hanya bersifat lokal atau intranet.   Supaya server lokal juga dapat diakses melalui internet, maka harus dilakukan pengaturan di beberapa sisi.   Yang pertama, pada aplikasi Moodle diatur pada file konfigurasi, config.php, sebagai berikut:    if (ereg(“^198\.162”,$_SERVER[‘REMOTE_ADDR’]))  {  $CFG-&gt;wwwroot = ‘http://198.162.0.XXX/moodle‘; //internal...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.smpyppksantodonboscofakfak.sch.id/index.php?title=Server_moodle_dengan_ip_lokal_dan_ip_public&amp;diff=20&amp;oldid=prev"/>
		<updated>2022-12-16T15:31:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; Biasanya, aplikasi Moodle yang terpasang di server sekolah, perguruan tinggi, dan lembaga pendidikan lainnya hanya bersifat lokal atau intranet.   Supaya server lokal juga dapat diakses melalui internet, maka harus dilakukan pengaturan di beberapa sisi.   Yang pertama, pada aplikasi Moodle diatur pada file konfigurasi, config.php, sebagai berikut:    if (ereg(“^198\.162”,$_SERVER[‘REMOTE_ADDR’]))  {  $CFG-&amp;gt;wwwroot = ‘http://198.162.0.XXX/moodle‘; //internal...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; Biasanya, aplikasi Moodle yang terpasang di server sekolah, perguruan tinggi, dan lembaga pendidikan lainnya hanya bersifat lokal atau intranet.&lt;br /&gt;
&lt;br /&gt;
 Supaya server lokal juga dapat diakses melalui internet, maka harus dilakukan pengaturan di beberapa sisi.&lt;br /&gt;
&lt;br /&gt;
 Yang pertama, pada aplikasi Moodle diatur pada file konfigurasi, config.php, sebagai berikut:&lt;br /&gt;
 &lt;br /&gt;
 if (ereg(“^198\.162”,$_SERVER[‘REMOTE_ADDR’]))&lt;br /&gt;
 {&lt;br /&gt;
 $CFG-&amp;gt;wwwroot = ‘http://198.162.0.XXX/moodle‘; //internal ip&lt;br /&gt;
 }&lt;br /&gt;
 else&lt;br /&gt;
 {&lt;br /&gt;
 $CFG-&amp;gt;wwwroot = ‘http://external_ip/moodle‘;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
==UPDATE==&lt;br /&gt;
 Menggunakan script ip dinamis juga ternyata bisa, yaitu dengan merubah scrip config.php menjadi seperti berikut&lt;br /&gt;
 $CFG-&amp;gt;wwwroot   = &amp;#039;http://&amp;#039;.$_SERVER[&amp;quot;HTTP_HOST&amp;quot;].&amp;#039;/moodle&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
 Sumber : https://kursuskomputerbatam.wordpress.com/2019/06/11/mengonlinekan-server-lokal-moodle-ke-internet/comment-page-1/#comment-1568&lt;/div&gt;</summary>
		<author><name>dw&gt;Admin</name></author>
	</entry>
</feed>