Pencarian
Latest topics
Merubah nama domain localhost
Halaman 1 dari 1
Merubah nama domain localhost
Sempet terpikir seandainya domain localhost yang ada di computer kita bisa di ubah menjadi nama domain yang berextension misalnya .com, mungkin seru juga kali yach. Mungkin bagi yang sering coding dengan PHPm tentunya sudah tau apa itu localhost dimana localhost adalah merupakan web server local yang bisa kita pasang pada computer kita. Ada beberapa program yang bisa di gunakan untuk membangun sebuah web server local seperti XAMPP, WAMP, APPSERV, dsb.
Lalu, sekarang bagaimana cara kita merubah nama domain localhost menjadi nama domain yang sebenarnya (atau di buat TLD ) seperti domainku.com? cara nya ternyata sungguh mudah. Tp cara ini hanya berlaku pada system operasi windows. Dan mungkin sebelum saya, udah banyak para master-master yang sudah mengetahu trik ini. tapi tak apalah, namanya juga masu share. Hihihihihihihihihi……………
Ok, langsung aja yach. Caranya sangat mudah. Silahkan masuk pada folder :
C:\WINDOWS\system32\drivers\etc
Lalu temukan file dengan nama host lalu bukalah file tersebut dengan menggunakan tool text editor seperti notepad ataupun notepad++. Setelah di buka, isi dari file host tersebut kurang lebih seperti ini :
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
kemudia lakukan sedikit peribahan pada isi file tersebut dengan menambahkan IP localhost dan domain yang di inginkan di bawah "127.0.0.1 localhost" sesuai nama domain yang di kehendaki. Misalnya domainku.com dimana nanti jadinya akan seperti di bawah ini :
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 domainku.com
Setelah itu simpan perubahan yang sudah di lakukan atau tekan CTRL+S. Kemudia bukalah browser lalu ketik domain.com Sengan cara tersebut, harusnya yang biasanya kita mengetikan localhost pada browser, tapi dengan cara ini kita bisa menggunakan domain domainku.com Semoga artikel ini dapat bermanfaat bagi kita semua. Amien………
Lalu, sekarang bagaimana cara kita merubah nama domain localhost menjadi nama domain yang sebenarnya (atau di buat TLD ) seperti domainku.com? cara nya ternyata sungguh mudah. Tp cara ini hanya berlaku pada system operasi windows. Dan mungkin sebelum saya, udah banyak para master-master yang sudah mengetahu trik ini. tapi tak apalah, namanya juga masu share. Hihihihihihihihihi……………
Ok, langsung aja yach. Caranya sangat mudah. Silahkan masuk pada folder :
C:\WINDOWS\system32\drivers\etc
Lalu temukan file dengan nama host lalu bukalah file tersebut dengan menggunakan tool text editor seperti notepad ataupun notepad++. Setelah di buka, isi dari file host tersebut kurang lebih seperti ini :
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
kemudia lakukan sedikit peribahan pada isi file tersebut dengan menambahkan IP localhost dan domain yang di inginkan di bawah "127.0.0.1 localhost" sesuai nama domain yang di kehendaki. Misalnya domainku.com dimana nanti jadinya akan seperti di bawah ini :
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 domainku.com
Setelah itu simpan perubahan yang sudah di lakukan atau tekan CTRL+S. Kemudia bukalah browser lalu ketik domain.com Sengan cara tersebut, harusnya yang biasanya kita mengetikan localhost pada browser, tapi dengan cara ini kita bisa menggunakan domain domainku.com Semoga artikel ini dapat bermanfaat bagi kita semua. Amien………
dey- Jumlah posting : 7
Join date : 09.12.10
Age : 34
Lokasi : BANDUNG AJAH
Halaman 1 dari 1
Permissions in this forum:
Anda tidak dapat menjawab topik
|
|
Tue Nov 18, 2014 2:52 am by dandorasta01
» VIMAX PIL JADIKAN RUMAH TANGGA LEBIH HARMONIS DAN ISTRI KETAGIHAN 081326047776
Tue Nov 18, 2014 2:50 am by dandorasta01
» vimax original canada-pusat jakara-kalimantan-bali-batam-sumatera-sulawesi-papua
Tue Nov 18, 2014 2:49 am by dandorasta01
» PERBEDAAN VIMAX ASLI DAN PALSU || JANGAN SALAH PILIH PRODAK VIMAX BB-795E5C80
Tue Nov 18, 2014 2:47 am by dandorasta01
» PEMBESAR PANJANG PENIS PERMANEN 3 BONUS 1 VIMAX ASLI CANADA
Tue Nov 18, 2014 2:44 am by dandorasta01
» VIMAX PILL CANADA ORIGINAL PEMBESAR PANJANG PENIS PERMANEN 2 BONUS 1- 081326047776
Tue Nov 18, 2014 2:43 am by dandorasta01
» VIMAX PIL JADIKAN RUMAH TANGGA LEBIH HARMONIS DAN ISTRI KETAGIHAN 081326047776
Tue Nov 18, 2014 2:42 am by dandorasta01
» VIMAX PILL CANADA ORIGINAL PEMBESAR PANJANG PENIS PERMANEN 3 BONUS 1- 081326047776
Tue Nov 18, 2014 2:40 am by dandorasta01
» VIMAX PILL CANADA ORIGINAL PEMBESAR PANJANG PENIS PERMANEN 3 BONUS 1- 081326047776
Tue Nov 18, 2014 2:39 am by dandorasta01