Tuesday, February 7, 2012

Create Domain in Localhost

1. Edit File httpd.conf then create VirtualHost


ServerName wordpress
ServerAlias wordpress
DocumentRoot "G:/03.DATA.WEB/00A.Personal/020.warungilmu.info"

Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all



2. Edit file Hosts in C:\Windows\System32\drivers\etc\hosts

127.0.0.1 localhost
127.0.0.1 wordpress

3. Restart Apache