Okay, let me explain better.
I can go to my site on my localhost machine like this: http://www.mysite.com
It's set up on my machine like that, not http://localhost (I read to set it up that way to make sure all the links created for the site would be transferable when going live.) If I go to http://localhost I'll go to my Wamp administration panel.
I thought I might have to remove the code out of my local "host" file i.e. C:\Windows\System32\drivers\etc\host.conf
Here's what I have in the host.conf file:
127.0.0.1 localhost mysite.local
In my Wamp Server set up I have this:
CustomLog "logs/access.log" common
Options Indexes FollowSymLinks
Allow from all
As you can see I'm set up to host the site on my localhost machine. I changed my mind about that!
But it helps making sure the links are correct in the site thou.
Now I want to upload the site to another non-localhost.
But I want to keep my set up here because it works so well and I know the links created will work. If I put mysite name into my browser it will take me to my localhost machine (I think because of my host file).
My problem seems to be how to go to my site on this "localhost" machine (when I want to) when I want to work on my site here and go to my non-localhost to set up everything else. I would like to switch between both. That would be ideal.
It looks to me like I'm going to have to remove to code out of my host.conf file, refresh windows memory, and maybe even do something about the Wamp VirtualHost conf file too.
I thought I could least access mysite with the ip number, but that's not working either. But even if I could access mysite through the ip address when ever I click a link it would automatically bring me back to my localhost machine.
Know what I mean?