I need to change the localhost to a IP address in Windows XP. i.e when I open localhost/ it should display content of the IP but the name/url should be localhost.
The thing is, I am using a virtual machine, Parallels Desktop, on mac to run windows. So to access the mac localhost on xp, I have to go to a IP address, but when I do, although it displays the page of the mac localhost, all the stylesheet and image links are still localhost/url so only text is shown, the rest leads to a 404 page.
i.e If I go to the IP which has this html page. The content is like this
The stylesheet does not open as it is from localhost/ url.
<link rel="stylesheet" type="text/css" href="localhost/url/style.css" />
(Hope this is the right forum .)