Actually, after working with this functions, I think I found the one that is causing the problem:
It seems that whenever I use that, I get timeshare-at-large as the domain. Maybe that's the first virtual host I created, I have no idea.
It seems to be a configuration problem, or a bug. But all I need to do is avoid using that, which shouldn't be hard.