KONFIGURASI SHARED HOSTING SERVER
KONFIGURASI SHARED HOSTING
Asumsi dibutuhkan 3 domain untuk Share Hosting Server :
1. http://tkjoke.com
2. http://tkjoke.net
3. http://tkjoke.id
1 PC difungsiskan sebagai server (tempat untul hosting dan domain)
PC lainnya sebagai client untuk mengakses domain yang telah dibuat
Konsep
![]() |
Konsep Share Hosting |
Topologi
![]() |
| Topologi Share Hosting |
Bahan, alat dan Aplikasi
1. 2 PC/Laptop atau lebih
2. Jaringan LAN
3. Web Server (Uniform Server)
Langkah-langkah konfigurasi
- IP Address yang digunakan dalam jaringan (contoh) 222.222.222.21-222.222.222.30 (asumsi 10 PC).
- Pastikan koneksi antar PC sudah saling terhubung. silakan tes koneksi dengan ping di cmd.
Konfigurasi Share Hosting Server
Download Uniform Server disini.
![]() |
| UniFormServer |
Setelah di download, jalankan file 15_0_0_ZeroXV.exe
![]() |
| 15_0_0_ZeroXV.exe |
Kemudian pilih Extract.
![]() |
| Proses 15_0_0_ZeroXV |
Tunggu hingga proses extract selesai.
![]() |
| UniServerZ |
Setelah proses extract selesai, akan muncul folder baru namanya UniServerZ
Buka Folder UniServerZ, Kemudian jalankan file UniController.exe.
![]() |
| UniController.exe |
akan muncul warning port in use by another aplication, lalu pilih OK
![]() |
| use by another aplication |
Kemudian muncul halaman UniServerZeroXV
![]() |
| UniServerZeroXV |
Untuk menjalankan webserver UniServerZeroXV plih Star Apache dan untuk menjalankan database pilih Start MySql.
Buka browser kemudian ketikan di address bar : localhost
![]() |
| Tampilan UniServer Localhost |
Konfigurasi akses untuk komputer client ke komputer server (Web Server)
Pastikan lagi bahwa komputer sudah terhubung dalam jaringan.
Kemudian memberikan IP pada masing-masing komputer.
Example,
Komputer A : 222.222.222.21 (ip server, komputer server yang difungsikan sebagai share hosting server)
Komputer B : 222.222.222.22 (ip client, komputer client yang difungsikan untuk mengakases domain/website)
Komputer C : 222.222.222.23 (ip client, komputer client yang difungsikan untuk mengakases domain/website)
Setelah pemberian IP, Pada komputer A kemudian Buka folder www pada folder UniServerZ.
![]() |
| Folder WWW |
Cari file .htaccess
![]() |
| htaccess |
Buka file .htaccess tersebut. (bisa dengan cara, klik kanan pada file .htacces, kemudian pilih notepad.
![]() |
| Membuka htaccess |
cari baris pada isi file .htaccess :
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
ubah menjadi
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 222.222.222.21 222.222.222.22 222.222.222.23 (dipisahkan dengan spasi)
![]() |
| Isi file htaccess |
Langkah selanjutnya adalah membuat Domain Lokal
Misalnya domain lokal yang dapat diakses dengan alamat:
http://tkjoke.com
http://tkjoke.net
http://tkjoke.id
Sebelum kita membuat domain lokal, terlebih dahulu kita stop Apache dan MySql (indikator berwana merah)
![]() |
| indikator berwana merah |
Membuat domian http://tkjoke.com
Klik menu Apache pada UniServerZeroXV, kemudian pilih Apache Vhosts, lalu pilih Create Apache Vhost
![]() |
| Create Apache Vhost |
Isikan
Root Folder Name : tkjokecom (hanya contoh)
Server Name : tkjoke.com (hanya contoh)
kemudian klik Create Vhost
![]() |
| Create Vhost |
![]() |
| New Create Vhost |
Untuk mengecek domain yang sudah dibuat, Buka folder vhosts pada folder UniServerZ.
![]() |
| folder vhosts |
Letakan file website kita di Folder nama domain yang kita buat.
![]() |
| file website kita |
Sebelum kita mengakses domain/website pada komputer client, silakan lakukan konfigurasi terlebih dahulu pada komputer client.
Buka dan edit file hosts pada folder windows: C:\WINDOWS\system32\drivers\etc\
![]() |
| hosts |
Kemudian buka file host menggunakan notepad++, pada baris 127.0.0.1 localhost tambahkan baris sebagai berikut yang mana (misal) 222.222.222.21 adalah IP Komputer server.
222.222.222.21 tkjoke.com
![]() |






















Komentar
Posting Komentar