merubah localhost menjadi nama domain di xampp
Di Posting Oleh : wandi
Kategori : Pelajaran Pemprograman web
Oke sekarang saya akan berbagi cara merubah nama domain localhost jadi yang kita ingin kan . Oke gak perlu perlama lama lagi lagung aja yang pertama kawan kawan . buka windows explorer , kemudian akses alamat ini C:\Windows\System32\drivers\etc . Oke disana ada file namanya host kawan kawan edit pake notepad++ .
# Copyright (c) 1993-2009 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
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 localhost
Nah ini defaultnya , kita sekarang kita akan menambahkan domain jadi yang kita kehendak tambahkan tulisan dibawah jadi yang kalian kehendaki , misalnya saya koding.com . seperti di bawah ini contohnya
# Copyright (c) 1993-2009 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
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 localhost
127.0.0.1 koding.com
Oke jika sudah kawan kawan save dan coba ketik koding.com , kalo yang saya . Maka kita akan di arahkan ke localhost kita .
Oke itu dia tips sederhana dari saya . Semoga bermanfaat dan juga mungkin sekarang kawan kawan gak bosan lihat localhost terus karena sekarang jadi koding.com kalo yang saya . Terimakasih telah berkenan membaca artikel ini . Sampai jumpa di artikel yang lainnya yang lebih menarik dan juga lebih bermanfaaat .
Mau liat atau download source code aplikasi premium bisa disini.
Di Posting Oleh : wandi
Kategori : Pelajaran Pemprograman web
Oke sekarang saya akan berbagi cara merubah nama domain localhost jadi yang kita ingin kan . Oke gak perlu perlama lama lagi lagung aja yang pertama kawan kawan . buka windows explorer , kemudian akses alamat ini C:\Windows\System32\drivers\etc . Oke disana ada file namanya host kawan kawan edit pake notepad++ .
# Copyright (c) 1993-2009 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
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 localhost
Baca juga source code sistem absensi sekolah php
Nah ini defaultnya , kita sekarang kita akan menambahkan domain jadi yang kita kehendak tambahkan tulisan dibawah jadi yang kalian kehendaki , misalnya saya koding.com . seperti di bawah ini contohnya
# Copyright (c) 1993-2009 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
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 localhost
127.0.0.1 koding.com
Baca juga source code aplikasi tiket pesawat dan kereta api PHP
Oke jika sudah kawan kawan save dan coba ketik koding.com , kalo yang saya . Maka kita akan di arahkan ke localhost kita .
Oke itu dia tips sederhana dari saya . Semoga bermanfaat dan juga mungkin sekarang kawan kawan gak bosan lihat localhost terus karena sekarang jadi koding.com kalo yang saya . Terimakasih telah berkenan membaca artikel ini . Sampai jumpa di artikel yang lainnya yang lebih menarik dan juga lebih bermanfaaat .
Mau liat atau download source code aplikasi premium bisa disini.
0 Komentar