80 Localhost To Domain Name Xampp Update

Benefits of using a domain name is that you don t have to remember your ip address.
Localhost to domain name xampp. 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. Ok lets check how we can achieve rename localhost to a domain name. Get your domain name you want to use for your server.
Virtual host in xampp. Each line must begin with the address 127 0 0 1 this is the localhost address after the ip address type the name of the domain you wish to redirect to this address. Add the below line and save the file.
You may only enter 1 name per line. Let s break the tutorial into 3 different parts. How to rename localhost to a domain in xampp the sounds like crazy right.
It allows users to specify an ip address to use for a hostname or domain name without checking dns. Yes it is rename localhost to a domain in xampp is for some craze. This technique is a little bit easier than method one.
Point the custom domain to 127 0 0 1 localhost add virtual hosts in apache server httpd vhosts conf file. 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.
See the section in the red box in the image above. Below is the step by step guide to change localhost to domain name for xampp in a windows computing environment. The steps are simple and easy only few things for changing your localhost to a domain name.