Resolving URLs to IP addresses (SOLVED)
Posted: Sat Feb 16, 2013 2:46 pm
I am running Linux Mint 14 Cinnamon 64-bit in a dual-boot configuration with Windows 7 Pro 64-bit. The computer is part of a local area network. Another computer on the network is a Windows XP (32-bit) machine that is running an Apache 2 server, which I use to serve several test webpages. Here is my problem: I need to be able to access these webpages from a web browser running on Linux Mint, but I have to access them by URL. If I use the IP address, I only get the first webpage listed in the other machine's Apache vhosts.conf file. When I am running off of Windows in my dual-boot machine, this is no problem. To access a webpage on another computer on the LAN by URL, all I have to do is add (for example) a line to the C:\Windows\System32\drivers\etc\hosts file:
192.168.1.9 pmtest.com
where the first term is the local IP address and the second is the URL. If I do the same thing in the /etc/hosts file in Linux Mint, it has no effect.
So, what am I missing?
192.168.1.9 pmtest.com
where the first term is the local IP address and the second is the URL. If I do the same thing in the /etc/hosts file in Linux Mint, it has no effect.
So, what am I missing?