How to Set Up a Fc2 Virtual Host
- 1). Click "Start," select "Programs," "ApacheHTTPServer," choose "Configure Apache Server," and then "Edit" to modify the Apache "httpd.conf" file. Remove the "#" from the beginning of the line.
- 2). Add the following lines to the Apache "httpd.conf" file:
"NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot "C:\My Sites\Site1"
ServerName site1.local
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot "C:\My Sites\Site2"
ServerName site2.local
</VirtualHost>."
Replace "My Sites" and "Site1/Site2" with the names of the sites you will be using. - 3). Save and close the file. The Fc2 virtual host should now be set up.
Source...