From what I understand from this page
, aliasing is pretty straight forward.
However, what I want to do is:
When I'm developing on my localhost, I would like all my links pointing to sub pages to be something like href=www.mysite.com/mypage.php instead of just href=mypage.php or href=localhost.php
So what I though was add an alias like:
Alias www.mysite.com localhost
In the same sens that this shouuld work if I add to the apache2.conf file:
After i restart apache, my browser still opens site1 instead of site2 .. is there something I don't get?
thanks in advance.