php - XAMPP - Alias 127.0.0.1 -
currently, have xampp setup typing 127.0.0.1 in browser redirects me home page found within htdocs.
i able type "devtest" , have alias 127.0.0.1.
what have tried far modifying: c:\xampp\apache\conf\extra\httpd.vhosts.conf added entry looks like:
<virtualhost *:80>     serveradmin webmaster@dummy-host2.example.com     documentroot c:\xampp\htdocs\workspace\myproject     servername devtest     errorlog c:\xampp\htdocs\workspace\myproject\myproject-error_log     customlog c:\xampp\htdocs\workspace\myproject\myproject-access_log common </virtualhost>   is there step i'm missing?
open hosts file in notepad:
c:\windows\system32\drivers\etc\hosts
add line:
127.0.0.1 devtest   navigate to: http://devtest
Comments
Post a Comment