FINALLY I solved my mistake and I describe it below in case someone happens something.
I have 2 pc (1 server and 1 pc-development, the server in addition to apache runs a server dns (bind) in which I configure my different subdomains.
My subdomain demo.dws.mx runs on the server and is also listed in the dns (demo.dws.mx -> 192.168.1.101), works correctly.
My subdomain demo2.dws.mx run in with virtualbox and it exists in my real server (demo2.dws.mx -> 192.168.1.102). I get 404 error
My pc-development gets the names from the dns (server) therefore both sites are shown, however my server mounted in virtualbox does not get the names from the real server, so it never finds the site demo2.dws.mx and therefore it returns error 404, the solution is to add (in server virtualbox):
Text Formatted Code
/etc/hosts
192.168.1.102 demo2.dws.mx
Finally, the error that started this post is that when you login to the site from:
Text Formatted Code
mysite.com/admin/
Does not set the cookie "password" which causes the error described in my first post. I do not know if this was programmed in this way or if there is a bug here, but everything is resolved if I login from
Text Formatted Code
mysite.com.com/users.php
Or using the "My account" block.
Tom, thank you for your patience.
D Web Studio - www.d-webstudio.net