Here's my latest development...
Trying to cover all my bases with this in my hosts file:
This is my real unregistered website name. I can't register it until the end of the month when I get some money.
Here's my new settings in my httpd-vhosts.conf file:
CustomLog "logs/access.log" common
I'm thinking it's my hosts.conf file so I've been checking it. Here's a ping check:
Pinging FOO.Home [126.96.36.199] with 32 bytes of data:
Reply from 188.8.131.52: bytes=32 time=27ms TTL=240
Reply from 184.108.40.206: bytes=32 time=37ms TTL=240
Reply from 220.127.116.11: bytes=32 time=29ms TTL=240
Reply from 18.104.22.168: bytes=32 time=25ms TTL=240
Ping statistics for 22.214.171.124:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 25ms, Maximum = 37ms, Average = 29ms
You can see I have www.google.com in my hosts file but I can still go to Google in my browser. So I think it's something to do with the host file.
| Yes: 192.168.254.2 = your computer and localhost = your computer. They're both the same place. |
Yeah but my IP 192.168.254.2 is suppose to be the same as localhost but I get two different pages. And that is what I want.
| I don't. I almost get a directory listing of / (but I don't because that's been disallowed so I get a 403 instead). |
Does this mean I need to set my folder to a more unrestricted settings. I'll do that and see.
| It depends. "mysite" has to be resolved to some IP address, and apparently your ISP has things set up so that trying to go someplace that doesn't exist sends you to their search page. Normally your browser would tell you that it can't find "mysite". |
I've been following these tutorials:
JLBN - Virtual Hosts on WAMP
and this YouTube:
Setting up Virtual Hosts on Wampserver Part 1 of 2
They both say I should be able to go to my home page by typing http://FOO in the browser address bar.
I follow it EXACTLY too.