cari

Merubah Nama Domain Localhost

Mungkin tidak perlu saya jelaskan lagi apa itu localhost karena saya tidak ingin para pembaca blog saya terkesan manja, jadi silahkan cari sendiri pengertian
localhost di GOOGLE.
15 Merubah Nama Domain Localhost

Singkatnya localhost (http://localhost atau http:127.0.0.1) adalah loopback address local komputer. Tentu ini tidak berlaku di semua komputer karena ini
ada jika melakukan instalasi software semacam XAMP, WAMP, san semacamnya.

Bagaimana jika URL http://localhost diubah menjadi http://websitekamu.com atau
http://domainkamu.com ? Mantaps neh keliatannya. hehehe…

Berikut cara merubahnya :

1. Buka Windows Explorer lalu buka direktori C:\WINDOWS\system32\drivers\etc
2. Buka file bernama “host” menggunakan text editor seperti notepad atau wordpad. Maka akan terlihat isinya seperti berikut :

block quote
# 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

block quote end

3. terlihat ada syntax 127.00.1 localhost, sekarang kamu tambahkan nama domain yang kamu pilih seperti :

127.0.0.1 localhost ciebal.com ciebal.org

Simpan file “host” dan pada contoh di atas localhost siap di akses dengan nama domain ciebal.com dan ciebal.org.

Asyik kan..?

Sekian dari ciebal, semoga bermanfaat dan sekarang ciebal mau promosi dulu,

Tidak ada komentar:

Posting Komentar