Sunday, April 20, 2014

How to Rename Localhost to a Domain in Lampp/xampp


Step 1: Open your editor and edit /etc/hosts
Step 2: Add this without the quotes "127.0.0.1 localhost.localdomain yourdomain.com"
Step 3: Saved!

Open your browser and go to yourdomain.com.