I decided to create a thread that hopefully will fill in the blanks so that I can write a comprehensive getting started tut.
My problem: I'm just an html/php/css coder. I don't know squat about web servers or how to configure them. Thus why I'm using a WAMP at all.
I want to simply add VirtualHosts (vhosts) so that I can work on multiple sites.
All I want is be able to do is open this file in my browser:
by typing this into the address bar:
The XAMPP install is in C:\Program Files\xampp
From what I've read, all I should have to do is set my httpd-vhosts.conf file to look like this:
- Code: Select all
That allows apache to restart ok but I'm lost from there. http://mySite_local/ just give me the can't find error.
1. Is there anything wrong with my httpd-vhosts.conf?
2. Are there any other files I need to edit? (remember this is a default out of the box install)
3. Does my hosts file in system32\drivers\etc have anything to do with it? Do I need to add anything to it?
4. I'm on a network at my office. Does that mess with my ports or otherwise prevent this from working?
Thank ahead of time. I'll so a nice write up once I get it working.