20 Change Domain Name Xampp Update

Add the below line and save the file.
Change domain name xampp. Hey guys every new comer web developer must have thought about changing localhost to a domain name while working on websites locally. If you do not want to use a real domain name but wants to use domain name only in your pc we will redirect the desired domain to 127 0 0 1. How to change localhost in xampp to domain name is a free online lea.
Yes it is rename localhost to a domain in xampp is for some craze. Sebelum kita masuk tips dan tutorialnya saya melakukan test ini menggunakan windows 7 64bit dengan versi xampp 5 6 30 untuk versi yang lain juga bisa karena sama saja. Ok lets check how we can achieve rename localhost to a domain name.
Get your domain name you want to use for your server. Windows computers have a hosts file an operating system file that maps hostnames to ip addresses. Follow the below steps to change localhost to custom domain name in xamp server.
The steps are simple and easy only few things for changing your localhost to a domain name. How to rename localhost to a domain in xampp the sounds like crazy right. Run the server and test our work.
Ok kita akan kaitkan ini dengan xampp yang tadi dengan mengubah alamat domain tersebut dan bisa kita akses melalui pc kita sendiri. Point the custom domain to 127 0 0 1. If you want to use a custom domain name instead of localhost in xampp you have to firstly resolve the domain to the local ip address 127 0 0 1.
It allows users to specify an ip address to use for a hostname or domain name without checking dns. You can also get free domain names from freenom. Let s break the tutorial into 3 different parts.