New
#1
HOSTS file
I setup a hosts file in windows xp in order to use my website locally using the exact domain name by editing the hosts file by adding the line:
127.0.0.1 www.test.com
This should resolve my local ip address for the test.com site and if apache is running, then it should load the website into my browser. I edited the file using a web document editor that is run as the administrator and i edited the file in the c:\windows\system32\drivers\etc and i saved it with no problem. The thing is that if i try and open my test.com domain name in my browser, it says that the webpage cannot be displayed. I know from installing my apache that windows has two versions of file in the program files and if you save it, then instead of saving it to the program files folder, it instead saves it to c:\users\username\appdata\localstore.... which caused mw quite a lot of frustration. Has anyone had any success with doing this in windows 7?