I am using XAMPP for linux on CentOS and primarily use it as home web server. I have a domain at freedns e.g. "http://something.moo.com" and it worked perfectly. If I wanted to put something online to quickly publish I just put a folder with homepage (e.g.joomla) in htdocs:" http://something.moo.com/joomla/" and the browser showed the page in that folder. Yesterday I activated vhosts (I wanted to have more domains on one IP) and it works beautifully. But I realized that the old trick doesn't work anymore. If I put " http://something.moo.com/joomla/" in the browser it doesn't find it. Since I don't want to put more new subdomains in freedns (e.g. http://joomla.moo.com/) I wonder if there's any trick or a workaround to keep the old way and the vhosts working together.
And another question. Where can I set that entering an IP number in the browser wouldn't show the page. In other words I want my pages to be accessed only via domain name and not through IP. Is that a router setting or apache setting?
Any help would be greatly appreciated
Thanks, Mitja